GeneticSharp v1.1.0 - Binary chromosomes

The GeneticSharp v1.1.0 is out. The greatest additions of this version are the binary chromosomes: FloatingPointChromosome and IntegerChromosome.

Binary chromosomes can be directly used when your solution chromosome can be represented as numbers or a string representation of 0 and 1.

A new sample has been added to the GeneticSharp.Runner.GtkApp, this sample called “Function optimization” show the FloatingPointChromsome in action:

Besides these new chromosomes, there is a new mutation: FlipBit, a special mutation to IBinaryChromosome that takes the chosen gene and inverts the bits.

If you want to use the new chromosomes in your project, just get the new GeneticSharp version from Nuget.

In the next days I will post a tutorial showing how to optimize a very simple function using GeneticSharp and the new FloatingPointChromosome.

Let’s evolve!

Icons made by Freepik from is licensed by CC 3.0 BY
Written on June 11, 2017