Uses of Interface
org.jppf.ga.Chromosome
Packages that use Chromosome
Package
Description
Support for transport-agnostic communication with remote services and disk overflow.
-
Uses of Chromosome in org.jppf.ga
Classes in org.jppf.ga that implement ChromosomeModifier and TypeClassDescriptionclassCommon abstract super class for chromosme implementations.Fields in org.jppf.ga declared as ChromosomeModifier and TypeFieldDescriptionprotected Chromosome[]GeneticAlgorithm.populationThe genetic algorithm's population.Methods in org.jppf.ga that return ChromosomeModifier and TypeMethodDescriptionGeneticAlgorithm.addToPoulation(Chromosome[] toAdd) Add new chromosomes to the population.Chromosome.crossover(Chromosome mate, int position) Perform the crossover of this chromosome with one of its mates.Chromosome.mutate()Perform the mutation of this chromosome.GeneticAlgorithm.performCrossover(Chromosome[] pop) Perform the crossover operation for the specified population.GeneticAlgorithm.performMutation(Chromosome[] pop, int nbSelect) Mutate the specified population.GeneticAlgorithm.run(int maxGenerations) Selector.select(Chromosome[] population, int nbSelect) Select the specified number of chromosomes among the specified population.TournamentSelector.select(Chromosome[] population, int nbSelect) Methods in org.jppf.ga with parameters of type ChromosomeModifier and TypeMethodDescriptionGeneticAlgorithm.addToPoulation(Chromosome[] toAdd) Add new chromosomes to the population.intAbstractChromosome.compareTo(Chromosome other) protected voidGeneticAlgorithm.computeFitness(Chromosome[] pop) Compute the fitness scores for the specified population.Chromosome.crossover(Chromosome mate, int position) Perform the crossover of this chromosome with one of its mates.voidGeneticAlgorithm.displayStats(int gen, Chromosome[] pop, long elapsed) Displays some statistics on the current state of the algorithm.GeneticAlgorithm.performCrossover(Chromosome[] pop) Perform the crossover operation for the specified population.GeneticAlgorithm.performMutation(Chromosome[] pop, int nbSelect) Mutate the specified population.protected voidGeneticAlgorithm.postEpoch(Chromosome best) Callback invoked at the end of each epoch.Selector.select(Chromosome[] population, int nbSelect) Select the specified number of chromosomes among the specified population.TournamentSelector.select(Chromosome[] population, int nbSelect) protected booleanGeneticAlgorithm.shouldStop(Chromosome best) Constructors in org.jppf.ga with parameters of type ChromosomeModifierConstructorDescriptionCrossoverTask(Chromosome c1, Chromosome c2, int index, int pos) GeneticAlgorithm(Chromosome[] population, int nbToKeep, int nbSelect, int tournamentSize, double crossoverProbability)