Package dealib.components.mutators
Class RandToBestAndCurrent2Mutator
java.lang.Object
dealib.components.mutators.RandToBestAndCurrent2Mutator
- All Implemented Interfaces:
- Mutator
RandToBestAndCurrent2Mutator is a class implementing
 DE/rand-to-best-and-current/2 mutation scheme over the interface Mutator.
- Since:
- 1.0
- Version:
- 1.0
- Author:
- Alicia Vazquez Ramos
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionmutateIndividual(Population p, Individual X, Individual... individuals) Executes DE/rand-to-best-and-current/2 over the target/current individual, X.toString()Gets a string representing the visualization by console of the Mutator.
- 
Constructor Details- 
RandToBestAndCurrent2MutatorConstructor.- Parameters:
- exe- Configurarion of the current execution.
 
 
- 
- 
Method Details- 
mutateIndividualExecutes DE/rand-to-best-and-current/2 over the target/current individual, X.- Specified by:
- mutateIndividualin interface- Mutator
- Parameters:
- p- current population.
- X- the target/current individual.
- individuals- some possible auxiliary individuals, not used in this scheme.
- Returns:
- mutant vector, V.
 
- 
toStringGets a string representing the visualization by console of the Mutator.
 
-