fr.jussieu.gla.wasa.samples.party
Class CapacityConstraint

java.lang.Object
  |
  +--fr.jussieu.gla.wasa.core.ProblemItem
        |
        +--fr.jussieu.gla.wasa.core.Constraint
              |
              +--fr.jussieu.gla.wasa.samples.party.CapacityConstraint

public class CapacityConstraint
extends Constraint

Expresses that a Boat cannot host more than its spare capacity.

Version:
$Revision: 1.2 $ $Date: 2002/04/17 15:24:08 $
Author:
Florent Selva, Laurent Caillette

Constructor Summary
CapacityConstraint(ProgressivePartyProblem ppp)
           
 
Method Summary
 void evaluate()
          The core definition of the Constraint.
 
Methods inherited from class fr.jussieu.gla.wasa.core.Constraint
getRank
 
Methods inherited from class fr.jussieu.gla.wasa.core.ProblemItem
getName, getProblem, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CapacityConstraint

public CapacityConstraint(ProgressivePartyProblem ppp)
Method Detail

evaluate

public void evaluate()
Description copied from class: Constraint
The core definition of the Constraint. This method is called each time the engine evaluates the Constraint. Redefine it to specify your particular Constraint.
Overrides:
evaluate in class Constraint
See Also:
Constraint