Theater Consultation

Initial Facts

    distance from here : 2 miles
    show time from now : 8 minutes
    theater location   : downtown
    weather-condition  : bad

Knowledge Base

RULE ID Condition Action Agenda 1 Agenda 2 (8->15min)
 R1 IF   distance >= 2 miles THEN means is drive
¡@ ¡@
¡@
 R2 IF   distance > 1 miles,      and   time <= 10 min THEN means is drive
¡@
 R3 IF   distance <= 1 miles,      and   time > 10 min THEN means is walk
¡@
 R4 IF   means is drive, and     location is downtown THEN the action is to take a cab
¡@
¡@
 R5 IF   means is drive, and     location is not downtown THEN the action is to drive your car
 R6 IF   means is walk, and     weather is bad THEN the action is to take a coat and walk
¡@
 R7 IF   means is walk, and     weather is good THEN the action is to walk
¡@