Prints gene information to stream. Possible operations on a Gene can be seen in the class declaration above. This class defines what a chromosome looks like. Mates this chromosome with partner resulting in two new offsprings, child1 and child2. Returns chromosome length.
Prints chromosome information to stream.
Possible operations, including crossover and mutation, can be seen in the class declaration above. This class defines the population. Returns the modified fitness of the best cromosome in the population. Returns the average chromosome fitness of the population. Returns the best chromosome in the population.