net.sourceforge.cilib.entity.operators
Interface Operator

All Superinterfaces:
Cloneable, Serializable
All Known Subinterfaces:
CreationStrategy
All Known Implementing Classes:
BlendCrossoverStrategy, CauchyMutationStrategy, CompositeOperator, CompoundSelection, CrossoverStrategy, DifferentialEvolutionBinomialCrossover, DifferentialEvolutionExponentialCrossover, ElitistSelectionStrategy, GaussianMutationStrategy, MutationStrategy, OnePointCrossoverStrategy, RandCreationStrategy, RandomSelectionStrategy, RouletteWheelSelectionStrategy, SelectionStrategy, TopologyLoopingOperator, TournamentSelectionStrategy, UniformCrossoverStrategy, UniformMutationStrategy

public interface Operator
extends Cloneable

Interface to define all operators within the general structure of CIlib. All operator instances should implement this interface to ensure that generic use of operators is possible between different types of algorithms.


Method Summary
 Operator getClone()
          Create a cloned copy of the current object and return it.
 void performOperation(TopologyHolder holder)
          Perform the operator operation given the current TopologyHolder.
 

Method Detail

getClone

Operator 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 Cloneable
Returns:
An exact clone of the current object instance.
See Also:
Object.clone()

performOperation

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.