LibAPHI: The APHI Library for Simulation Modeling
The APHI Library for Simulation Modeling is a collection of probability density functions and geographical calculations commonly used in stochastic models. While LibAPHI is in its very early stages of development, it is already being used in NAADSM and several other development initiatives underway in the Animal Population Health Institute at Colorado State University.
Compiling or installing LibAPHI
LibAPHI is written in C and Delphi, and is released under the terms of the GNU General Public License. Source code as well as a binary version of LibAPHI for Microsoft Windows can be downloaded from this page.
Source code written in C is intended to be compiled with the MinGW implementation of GCC, although it should be possible to use other compilers. (Note that if the Cygwin implementation of GCC is used to build LibAPHI, the resulting library file will be incompatible with other Win32 applications.)
Source code written in Delphi is known to work with Delphi Version 7, Professional Edition. While it may be possible to compile the interface with other versions of Delphi, no others have been tested.
-
Download source code and binary version for the APHI Library for Simulation Modeling version 0.2.0 (as a ZIP archive)
libaphi-0.2.0-src.zip (195 KB)
-
Download source code for the APHI Delphi Library for Simulation Modeling version 0.2.0 (as a ZIP archive)
libaphi_delphi-0.2.0-src.zip (95 KB)
Note: Prior to version 0.2.0, only the C version of LibAPHI existed.
-
Download source code and binary version for the APHI Modeling Library version 0.1.2 (as a ZIP archive)
libaphi-0.1.2-src.zip (200 KB)
-
Download source code and binary version for the APHI Modeling Library version 0.1.1 (as a ZIP archive)
libaphi-0.1.1-src.zip (186 KB)
-
Download source code for the APHI Modeling Library version 0.1 (as a ZIP archive)
libaphi-0.1-src.zip (33 KB)
-
Download a binary version (with header files) of LibAPHI 0.1 for Microsoft Windows (as a ZIP archive)
libaphi-0.1.zip (82 KB)
Other libraries required by LibAPHI
LibAPHI makes use of several additional programming libraries. In most cases, compiled binary versions are available. It may be necessary, however, to build some libraries from source code.
- The GNU Scientific Library for Windows version 1.6 or higher. Available from http://gnuwin32.sourceforge.net/packages/gsl.htm.
- GLib for Windows version 2.4.7 or higher. Available from http://www.gtk.org/download-windows.html.
- SPRNG for Windows version 2.0 or higher. Original source code (which does not compile on Windows) is available from http://sprng.cs.fsu.edu. Modified source code and a binary (compiled) version of SPRNG for Windows may be downloaded from http://www.naadsm.org/opensource/sprng.
Documentation
More complete documentation for the APHI Library for Simulation Modeling will be published here as development continues.