Showing posts with label Install GAUL in Ubuntu. Show all posts
Showing posts with label Install GAUL in Ubuntu. Show all posts

Tuesday, 29 April 2014

How to install Genetic Algorithm Utility Library (GAUL) ?

 
The Genetic Algorithm Utility Library (referred to as GAUL in short ) is a C Programming Library which is used to develop or aid the development of applications that use Genetic Algorithms or Evolutionary Algorithms.

 Instructions for installing Genetic Algorithm Utility Library on Ubuntu ( LINUX) :
  • Download GAUL library from http://gaul.sourceforge.net/downloads.html.
  • Extract the GAUL files into your home folder and go into that particular folder and type the following commands:
    $ cd gaul-devel-0.1850-0
  • Compilation without S-Lang is done by:
    $./configure --enable-slang=no && make
  • Finally type:
    $ sudo make install
  • To compile a program, use the  linkers along with the file in the following way:
    gcc test_utils.c -lgaul -lgaul_util -lm 
  • To output the compilation to a file, use :
    ./a.out>test.txt
  • For more detailed instructions, please refer to: http://varuagdiary.blogspot.in/2011/05/setting-up-gaulgenetic-algorithm.html . The blog is descriptive with discussion about the installation of S-Lang along with Simple GAUL installation.