net.sourceforge.cilib.entity.operators.crossover
Class CrossoverStrategy
java.lang.Object
net.sourceforge.cilib.entity.operators.crossover.CrossoverStrategy
- All Implemented Interfaces:
- Serializable, Operator, Cloneable
- Direct Known Subclasses:
- BlendCrossoverStrategy, DifferentialEvolutionBinomialCrossover, DifferentialEvolutionExponentialCrossover, OnePointCrossoverStrategy, UniformCrossoverStrategy
public abstract class CrossoverStrategy
- extends Object
- implements Operator
- Author:
- Andries Engelbrecht
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CrossoverStrategy
public CrossoverStrategy()
CrossoverStrategy
public CrossoverStrategy(CrossoverStrategy copy)
getClone
public abstract CrossoverStrategy getClone()
- Create a cloned copy of the current object and return it. In general
the created copy will be a deep copy of the provided instance. As
a result this operation an be quite expensive if used incorrectly.
- Specified by:
getClone
in interface Operator
- Specified by:
getClone
in interface Cloneable
- Returns:
- An exact clone of the current object instance.
- See Also:
Object.clone()
crossover
public abstract List<Entity> crossover(List<Entity> parentCollection)
getCrossoverProbability
public ControlParameter getCrossoverProbability()
- Returns:
setCrossoverProbability
public void setCrossoverProbability(ControlParameter crossoverProbability)
- Parameters:
crossoverProbability
-
getRandomNumber
public RandomNumber getRandomNumber()
setRandomNumber
public void setRandomNumber(RandomNumber randomNumber)
getSelectionStrategy
public SelectionStrategy getSelectionStrategy()
setSelectionStrategy
public void setSelectionStrategy(SelectionStrategy selectionStrategy)
Copyright © 2009 CIRG. All Rights Reserved.