This package provides Genetic Algorithms components and implementations.
Interface Summary Interface Description CrossoverPolicyPolicy used to create a pair of new chromosomes by performing a crossover operation on a source pair of chromosomes. FitnessFitness of a chromosome. MutationPolicyAlgorithm used to mutate a chrommosome. PermutationChromosome<T>Interface indicating that the chromosome represents a permutation of objects. PopulationA collection of chromosomes that facilitates generational evolution. SelectionPolicyAlgorithm used to select a chromosome pair from a population. StoppingConditionAlgorithm used to determine when to stop evolution.
Class Summary Class Description AbstractListChromosome<T>Chromosome represented by an immutable list of a fixed length. BinaryChromosomeChromosome represented by a vector of 0s and 1s. BinaryMutationMutation for
ChromosomeIndividual in a population. ChromosomePairA pair of
ElitisticListPopulationPopulation of chromosomes which uses elitism (certain percentace of the best chromosomes is directly copied to the next generation). FixedGenerationCountStops after a fixed number of generations. GeneticAlgorithmImplementation of a genetic algorithm. ListPopulationPopulation of chromosomes represented by a
OnePointCrossover<T>One point crossover policy. RandomKey<T>Random Key chromosome is used for permutation representation. RandomKeyMutationMutation operator for
TournamentSelectionTournament selection scheme.
Exception Summary Exception Description InvalidRepresentationExceptionException indicating that the representation of a chromosome is not valid.