ima.uco.fr.nuit.solchecker
Class LamourComOjective

java.lang.Object
  extended by ima.uco.fr.nuit.solchecker.LamourComOjective
All Implemented Interfaces:
Objective

public class LamourComOjective
extends java.lang.Object
implements Objective


Constructor Summary
LamourComOjective(double revenue)
           
 
Method Summary
 double compute(Solution s)
          Computes the objective function of a solution
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LamourComOjective

public LamourComOjective(double revenue)
Method Detail

compute

public double compute(Solution s)
Description copied from interface: Objective
Computes the objective function of a solution

Specified by:
compute in interface Objective
Parameters:
s - the solution
Returns:
the objective function