These pages are auto-generated from self-documenting comments embedded in class files.
For more information on breve and steve, refer to the breve homepage.

Data : Genome

Class description:

The Genome class is a subclass of Data which allows its subclasses to be manipulated with genetic operators such as crossover and mutation. This class is primarily used in conjunction with genetic algorithms and artificial life simulations.

As with its parent class, Data, the Genome class is incomplete and experimental. The API is subject to change in future releases.

Methods:

  • crossover
    crossover( self, parent1, parent2 )

    Initializes the contents of this object using a 1-point crossover from parent1 and parent2.