net.sourceforge.cilib.entity.operators.general
Class TopologyLoopingOperator

java.lang.Object
  extended by net.sourceforge.cilib.entity.operators.general.TopologyLoopingOperator
All Implemented Interfaces:
Serializable, Operator, Cloneable

public class TopologyLoopingOperator
extends Object
implements Operator

TODO: Complete this javadoc.

See Also:
Serialized Form

Constructor Summary
TopologyLoopingOperator()
           
TopologyLoopingOperator(TopologyLoopingOperator copy)
           
 
Method Summary
 TopologyLoopingOperator getClone()
          Create a cloned copy of the current object and return it.
 Operator getOperator()
           
 void performOperation(TopologyHolder holder)
          Perform the TopologyLoopingOperator by looping over the topology and delegate the operation to the wrapped operator.
 void setOperator(Operator operator)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TopologyLoopingOperator

public TopologyLoopingOperator()

TopologyLoopingOperator

public TopologyLoopingOperator(TopologyLoopingOperator copy)
Method Detail

getClone

public TopologyLoopingOperator 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()

performOperation

public void performOperation(TopologyHolder holder)
Perform the TopologyLoopingOperator by looping over the topology and delegate the operation to the wrapped operator.

Specified by:
performOperation in interface Operator
Parameters:
topology - The Topology to perform the operations on.
offspring - The Topology of offspring individuals.

getOperator

public Operator getOperator()

setOperator

public void setOperator(Operator operator)


Copyright © 2009 CIRG. All Rights Reserved.