aima.basic.simplerule
Class ANDCondition

java.lang.Object
  extended by aima.basic.simplerule.Condition
      extended by aima.basic.simplerule.ANDCondition

public class ANDCondition
extends Condition


Constructor Summary
ANDCondition(Condition aLeftCon, Condition aRightCon)
           
 
Method Summary
 boolean evaluate(ObjectWithDynamicAttributes p)
           
 java.lang.String toString()
           
 
Methods inherited from class aima.basic.simplerule.Condition
equals, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ANDCondition

public ANDCondition(Condition aLeftCon,
                    Condition aRightCon)
Method Detail

evaluate

public boolean evaluate(ObjectWithDynamicAttributes p)
Specified by:
evaluate in class Condition

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object