org.dbe.eve.fff.impl
Class AnotherFFImpl

java.lang.Object
  extended by org.dbe.eve.fff.impl.AnotherFFImpl
All Implemented Interfaces:
FitnessFunction

public class AnotherFFImpl
extends java.lang.Object
implements FitnessFunction

TODO JavaDoc

Author:
Claudius

Constructor Summary
AnotherFFImpl()
           
 
Method Summary
 Fitness evaluate(Solution solution)
          Evaluate the fitness function with the indicated solution.
 void init(SBVRDescription description, FitnessFunctionContext context)
          Init this fitness funcion.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnotherFFImpl

public AnotherFFImpl()
Method Detail

init

public void init(SBVRDescription description,
                 FitnessFunctionContext context)
Description copied from interface: FitnessFunction
Init this fitness funcion. At this moment, we can get any parameter from the FitnessFunctionContext of store this object in order to get the parameters later, at "evaluation" time. This will depend if we can perform all evaluations taking into account the "global system" progress or not.

Specified by:
init in interface FitnessFunction
Parameters:
description - The request that acts as the evaluation counterpart
context - The FitnessFunctionContext

evaluate

public Fitness evaluate(Solution solution)
Description copied from interface: FitnessFunction
Evaluate the fitness function with the indicated solution.

Specified by:
evaluate in interface FitnessFunction
Parameters:
solution - The Solution that should be evaluated
Returns:
fitness The calculated fitness value