lij.runtime
Class ConstraintInstance.ConstraintAssignmentInstance

java.lang.Object
  extended by lij.runtime.ConstraintInstance
      extended by lij.runtime.ConstraintInstance.ConstraintAssignmentInstance
Enclosing class:
ConstraintInstance

private static class ConstraintInstance.ConstraintAssignmentInstance
extends ConstraintInstance

A ConstraintInstance subclass for assignment constraints.


Field Summary
 
Fields inherited from class lij.runtime.ConstraintInstance
agentInstance, constraint, interpreter
 
Constructor Summary
private ConstraintInstance.ConstraintAssignmentInstance()
           
 
Method Summary
 Result.State check()
          This method needs to be implemented by any subclasses.
 
Methods inherited from class lij.runtime.ConstraintInstance
createConstraintInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConstraintInstance.ConstraintAssignmentInstance

private ConstraintInstance.ConstraintAssignmentInstance()
Method Detail

check

public Result.State check()
                   throws InterpreterException
Description copied from class: ConstraintInstance
This method needs to be implemented by any subclasses. It performs the evaluation (checking) of the constraint.

Specified by:
check in class ConstraintInstance
Returns:
The result of the evaluation (TRUE, FALSE or MAYBE).
Throws:
InterpreterException