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

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

public class MultiplicationOperatorStrategy
extends Object
implements MutationOperatorStrategy

Author:
Gary Pampara

Constructor Summary
MultiplicationOperatorStrategy()
           
 
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

MultiplicationOperatorStrategy

public MultiplicationOperatorStrategy()
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.