Skip to content

craignicol/geneticalgorithmtemplates

Repository files navigation

/***************************************************************************
                          README  -  description
                             -------------------
    begin                : Fri Jun05 13:03:34 BST 2009
    copyright            : (C) 2002-2009 by Craig Nicol
    email                : craig.nicol@gmail.com
    url                  : http://craignicol.github.io/geneticalgorithmtemplates
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 ***************************************************************************/

QUICK START : G++
-------------------

To see an example of a ga in action:

make -f Makefile.MG happyfaces && ./happy_faces_opt

(fitness is based on number of moves to complete puzzle, anything 25
or higher is a completed puzzle, the higher the fitness, the faster
the chromosome completed the puzzle)

To see an example result from the ga (and to see the puzzle in action):

make -f Makefile.MG happysolution && ./happy_faces_solution

To see a suite of ga examples:

make -f Makefile.MG fast && ./gat7o

and see the main.cpp file to see how to use it.

Poor ducomentation is a known issue.

Tested on Ubuntu / Gcc 4.x
Untested on other platforms

About

Automatically exported from code.google.com/p/geneticalgorithmtemplates

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages