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

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

public class MeetingOnlyOnceConstraint
extends Constraint

Expresses that a Crew should meet another Crew only once.

Version:
$Revision: 1.1 $ $Date: 2002/04/08 17:52:37 $
Author:
Laurent Caillette

Constructor Summary
MeetingOnlyOnceConstraint(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

MeetingOnlyOnceConstraint

public MeetingOnlyOnceConstraint(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