ga_tools Directory Reference

The ga_tools directory contains a toolkit for evolutionary algorithms. More...

ga_tools/


Directories

directory  FitnessStrategies
directory  GenerationSizeStrategies
directory  MutationFactorStrategies
directory  MutationStrategies
directory  RandomStrategies
directory  SelectionStrategies
directory  Values

Files

file  Gen.cpp
file  Gen.h [code]
file  GenContext.cpp
file  GenContext.h [code]
file  Generation.cpp
file  Generation.h [code]
file  GenPrototype.cpp
file  GenPrototype.h [code]
file  Individual.cpp
file  Individual.h [code]
file  ga_tools/README
 This file is used for the doxygen documentation.
file  restore.h [code]
file  SingletonGenAlgAPI.cpp
file  SingletonGenAlgAPI.h [code]
file  SingletonGenEngine.cpp
file  SingletonGenEngine.h [code]
file  SingletonGenFactory.cpp
file  SingletonGenFactory.h [code]
file  SingletonIndividualFactory.cpp
file  SingletonIndividualFactory.h [code]

Detailed Description

The ga_tools directory contains a toolkit for evolutionary algorithms.

This includes evolutionary strategies as well as the implementation of genetic algorithms and genetic programming. The class SingletonGenAlgAPI represents the API for the toolkit which you can use to access the package. The class SingletonGenEngine is the engine performing the genetic operations. The class IValue makes it possible to create all kinds of genes that are then handled automatically. This can be a number, a binary code, a program or a graphical primitive. The class IRandomStrategy is needed to create random individuals with your own gene types. The class IFitnessStrategy is designed to help you creating your own fitness strategy. With these and other strategies is it possible to customize and prepare the algorithm for your own needs.

The following subdirectories are included:

Examples
The usage of this package is actually very easy even though it might look complicated at the first glance. To begin with you have to check which classes you have to overload to implement your problem. This means which strategies must be changed. In the best case you only have to alter the fitness strategy. Then you write your own versions of this class like in template_cycled_GA_Simulation. Now you have to initiate the algorithm. For this you need some of the following information:

You can find out how to work with the algorithm and the initialization by considering one of the simulations in the ga_tools folder e.g.


Generated on Fri Oct 30 16:29:04 2009 for Robot Simulator of the Robotics Group for Self-Organization of Control by  doxygen 1.4.7