com.irs.jam
Class PredicateAchieve

java.lang.Object
  |
  +--com.irs.jam.Expression
        |
        +--com.irs.jam.Predicate
              |
              +--com.irs.jam.PredicateAchieve
All Implemented Interfaces:
java.io.Serializable

public class PredicateAchieve
extends Predicate
implements java.io.Serializable

Achieve Predicate (an Achieve-goal expression evaluable to true/false)

See Also:
Serialized Form

Fields inherited from class com.irs.jam.Predicate
_interpreter, _name, _relation
 
Fields inherited from class com.irs.jam.Expression
EXP_FUNCALL, EXP_PREDICATE, EXP_UNDEFINED, EXP_VALUE, EXP_VARIABLE
 
Constructor Summary
PredicateAchieve(java.lang.String name, Relation relation, Interpreter interpreter)
          Primary constructor
 
Method Summary
 Value eval(Binding binding)
          Go through the goals in the Intention Structure and see if there are any that match.
 
Methods inherited from class com.irs.jam.Predicate
format, getInterpreter, getName, getRelation, getType, print
 
Methods inherited from class com.irs.jam.Expression
equals, getVariable, isVariable, lessthan
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PredicateAchieve

public PredicateAchieve(java.lang.String name,
                        Relation relation,
                        Interpreter interpreter)
Primary constructor
Method Detail

eval

public Value eval(Binding binding)
Go through the goals in the Intention Structure and see if there are any that match.
Overrides:
eval in class Predicate