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

java.lang.Object
  extended by net.sourceforge.cilib.entity.operators.crossover.CrossoverStrategy
      extended by net.sourceforge.cilib.entity.operators.crossover.UniformCrossoverStrategy
All Implemented Interfaces:
Serializable, Operator, Cloneable

public class UniformCrossoverStrategy
extends CrossoverStrategy

Author:
Andries Engelbrecht
See Also:
Serialized Form

Constructor Summary
UniformCrossoverStrategy()
           
UniformCrossoverStrategy(UniformCrossoverStrategy copy)
           
 
Method Summary
 List<Entity> crossover(List<Entity> parentCollection)
          
 UniformCrossoverStrategy getClone()
          Create a cloned copy of the current object and return it.
 void performOperation(TopologyHolder holder)
          Perform the operator operation given the current TopologyHolder.
 
Methods inherited from class net.sourceforge.cilib.entity.operators.crossover.CrossoverStrategy
getCrossoverProbability, getRandomNumber, getSelectionStrategy, setCrossoverProbability, setRandomNumber, setSelectionStrategy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UniformCrossoverStrategy

public UniformCrossoverStrategy()

UniformCrossoverStrategy

public UniformCrossoverStrategy(UniformCrossoverStrategy copy)
Method Detail

getClone

public UniformCrossoverStrategy 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
Specified by:
getClone in class CrossoverStrategy
Returns:
An exact clone of the current object instance.
See Also:
Object.clone()

crossover

public List<Entity> crossover(List<Entity> parentCollection)

Specified by:
crossover in class CrossoverStrategy

performOperation

public void performOperation(TopologyHolder holder)
Perform the operator operation given the current TopologyHolder.

Parameters:
holder - The TopologyHolder representing the required Topology instances.


Copyright © 2009 CIRG. All Rights Reserved.