Skip to content
ThinkerM edited this page Jan 3, 2018 · 6 revisions

Launch Genetic Algorithm with Polygons

  1. Download Ga Setup from the latest Release
  2. Run setup
  3. A shortcut to the executable will be provided in the installed folder

Implement your own domain for a genetic algorithm

Reference the "Genetic_Algorithm" library (we are primarily interested in Genetic_Algorithm.GA.Generics)

Provide implementations for:

  • Gene(s) representing units of information for your domain
  • Individual(s) using your implemented Gene
  • GeneticAlgortihm Adapter (supply a Crossover method between your Individuals, all other methods are already implemented)
  • Fitness Calculator(s) evaluating your Individuals' fitness
  • (Optional: some sort of feedback on the progress of your domain's GAs)

Launch Genetic Algorithm:

Using your selected Fitness Calculator, construct an instance of your implemented GA Adapter, then supply this instance to the Genetic Algorithm class. The algorithm can then be started using the Run method.
Note: Subscribe to the GaInitialised and/or GaGenerationFinished events if you are interested in receiving feedback from the GA class.

Clone this wiki locally