|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectes.udc.gii.common.eaf.plugin.individual.IndividualChooser
es.udc.gii.common.eaf.plugin.individual.BestIndividual
public class BestIndividual
A plugin for choosing the best individual from a list of individuals.
Constructor Summary | |
---|---|
BestIndividual()
|
Method Summary | |
---|---|
void |
configure(org.apache.commons.configuration.Configuration conf)
Configures this plugin. |
Individual |
get(EvolutionaryAlgorithm algorithm,
java.util.List<Individual> individuals,
Individual reference)
Returns the best individual chosen from a list of individuals. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BestIndividual()
Method Detail |
---|
public Individual get(EvolutionaryAlgorithm algorithm, java.util.List<Individual> individuals, Individual reference)
get
in class IndividualChooser
algorithm
- Current evolutionary algorithm.individuals
- List of individuals from which to choose one.reference
- Individual that serves as a reference. (Not used and hence
it can be set to null
).
public void configure(org.apache.commons.configuration.Configuration conf)
conf
- Configuration
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |