net.sourceforge.cilib.entity.operators.mutation
Class MutationOperatorFactory

java.lang.Object
  extended by net.sourceforge.cilib.entity.operators.mutation.MutationOperatorFactory

public final class MutationOperatorFactory
extends Object

Factory to return the correct object based on the given symbol / token.

Author:
Gary Pampara

Method Summary
static MutationOperatorStrategy getOperatorStrategy(String operatorSymbol)
          Factory method to create the correct operator implementation object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getOperatorStrategy

public static MutationOperatorStrategy getOperatorStrategy(String operatorSymbol)
Factory method to create the correct operator implementation object.

Parameters:
operatorSymbol - A symbol or word describing the symbol
Returns:
The MutationOperatorStrategy associated to the meaning of the operatorSymbol.


Copyright © 2009 CIRG. All Rights Reserved.