Logical Agent
Logical Agent
Environment
4x4 grid of rooms
Agent always starts at [1,1]
Wumpus and gold randomly chosen
Each square other than start is pit
with 0.2 probability
3 Boolean choices 8
possible models
Is P2,2 entailed?
R1: ¬P1,1
R2: B1,1 P1,2 V P2,1
R3: B2,1 P1,1 V P2,2 V P3,1
R4: ¬B1,1
R5: B2,1
The above rules are sound, but if the available inference rules
are inadequate, then it’s not complete
conjunction of disjunctions of
literals clauses P1,3
E.g., (A B) (B C D)
and-or
graph
P1,1
W1,1
Bx,y (Px,y+1 Px,y-1 Px+1,y Px-1,y)
Sx,y (Wx,y+1 Wx,y-1 Wx+1,y Wx-1,y)
W1,1 W1,2 … W4,4
W1,1 W1,2
W1,1 W1,3
…