aima.basic.simplerule
Class ORCondition

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

public class ORCondition
extends Condition


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

ORCondition

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