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

java.lang.Object
  extended by net.sourceforge.cilib.entity.operators.mutation.AdditionMutationOperatorStrategy
All Implemented Interfaces:
MutationOperatorStrategy

public class AdditionMutationOperatorStrategy
extends Object
implements MutationOperatorStrategy

TODO: Complete this javadoc

Author:
Gary Pampara

Constructor Summary
AdditionMutationOperatorStrategy()
           
 
Method Summary
 double evaluate(double t1, double t2)
          Perform the evaluation based on the given parameters.
 double evaluate(double value, Numeric t1)
          Perform the evaluation based on the given parameters.
 double evaluate(Numeric t1, double value)
          Perform the evaluation based on the given parameters.
 double evaluate(Numeric t1, Numeric t2)
          Perform the evaluation based on the given parameters.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AdditionMutationOperatorStrategy

public AdditionMutationOperatorStrategy()
Method Detail

evaluate

public double evaluate(Numeric t1,
                       Numeric t2)
Perform the evaluation based on the given parameters.

Specified by:
evaluate in interface MutationOperatorStrategy
Parameters:
t1 - The first parameter: Numeric.
t2 - The second parameter: Numeric.
Returns:
The result of the evaluation with parameter t1 and t2.

evaluate

public double evaluate(Numeric t1,
                       double value)
Perform the evaluation based on the given parameters.

Specified by:
evaluate in interface MutationOperatorStrategy
Parameters:
t1 - The first parameter: Numeric.
value - The second parameter: double.
Returns:
The result of the evaluation with parameter t1 and t2.

evaluate

public double evaluate(double value,
                       Numeric t1)
Perform the evaluation based on the given parameters.

Specified by:
evaluate in interface MutationOperatorStrategy
Parameters:
value - The first parameter: double.
t1 - The second parameter: Numeric.
Returns:
The result of the evaluation with parameter value and t2.

evaluate

public double evaluate(double t1,
                       double t2)
Perform the evaluation based on the given parameters.

Specified by:
evaluate in interface MutationOperatorStrategy
Parameters:
t1 - The first parameter: double.
t2 - The second parameter: double.
Returns:
The result of the evaluation with parameter t1 and t2.


Copyright © 2009 CIRG. All Rights Reserved.