Home home
Subscribe to our feed
About Demo Download Documentation Literature Team Contact


This page contains information about libalf and its complementing components.


Important note: In version v 0.3 of libalf we simplified the compilation and installation.

Before you build libalf, please make sure that you fulfill the prerequisites.
  • Linux
    For compiling the C++ sources in Linux, you require a C++ compiler (we suggest that you use the GNU C++ compiler) and the make utility, which is used to automate the build process. Both tools should be installed by default on most Linux machines.
  • Windows
    To compile the C++ sources on Windows, we recommend using the Minimalist GNU for Windows (MinGW) compiler and MSYS, a Unix-style shell for Windows. Both can be obtained from http://www.mingw.org/.
  • Java
    If you want to use jALF, you need Java 6.0 or later installed on your system.
Compiling and installing libalf (and the other components) is easy. Just follow these simple steps:
  1. Download and extract the sources.
  2. Change into the folder of the software you want to compile (e.g. libalf).
  3. Type make install to build and install the component.

The build and installation routines are designed for Linux. By default, the install script tries to install the component in /usr/local/lib and /usr/local/include. On Windows, or if you do not want the libraries and headers to be installed on your system, you can let the variable PREFIX point to some arbitrary folder, in which you want to install the software. Then, you have to invoke PREFIX=some_path make install.

Please make sure the components in the right order. E.g. jALF needs to find libalf's header files and the compiled library in order to compile. Moreover, you may need to specify the location of Java's JNI headers using the variable JAVA_INCLUDE when compiling jALF.

All sources (except the dispatcher) compile on both Linux and Windows (32-bit and 64-bit). However, the dispatcher uses POSIX system calls and does only compile and run on POSIX-compliant systems such as Linux. (Cygwin may be one way to do so. If you managed to compile and run the dispatcher on Windows, please let us know!)

The libalf Compilation Guide v0.2 is an (outdated) quick guide on how to compile and install libalf v0.2. However, even if guide is no longer up-to-date, it may be useful and provides insights into the build process and the usage.

libalf Documentation

A comprehensive documentation will be available soon!

Latest news

April 9th, 2011

Release of libalf 0.3. Version 0.3 features some new features and the Rivest / Schapire learning algorithm. Please have a look at the Changelog.

March 10th, 2010

Release of libalf 0.2. Version 0.2 now features the Kearns / Vazirani and Biermann's original learning algorithm. Additionally, various bugs are fixed.

October 19th, 2009

libalf website launched. On October 19th, 2009 the libalf team launched the new website.

October 12th, 2009

libalf released. The first beta of the libalf library has been released.

libalf demo

read more

Disclaimer Original design by Stylish Website Templates