net.sourceforge.cilib.entity.operators.crossover
Class CrossoverStrategy

java.lang.Object
  extended by 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

Constructor Summary
CrossoverStrategy()
           
CrossoverStrategy(CrossoverStrategy copy)
           
 
Method Summary
abstract  List<Entity> crossover(List<Entity> parentCollection)
           
abstract  CrossoverStrategy getClone()
          Create a cloned copy of the current object and return it.
 ControlParameter getCrossoverProbability()
           
 RandomNumber getRandomNumber()
           
 SelectionStrategy getSelectionStrategy()
           
 void setCrossoverProbability(ControlParameter crossoverProbability)
           
 void setRandomNumber(RandomNumber randomNumber)
           
 void setSelectionStrategy(SelectionStrategy selectionStrategy)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.sourceforge.cilib.entity.operators.Operator
performOperation
 

Constructor Detail

CrossoverStrategy

public CrossoverStrategy()

CrossoverStrategy

public CrossoverStrategy(CrossoverStrategy copy)
Method Detail

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.