You are on page 1of 2

ARTIFICIAL INTELLIGENCE

Planning
Solutions of Lab
(Submitted to: Mr. Ali Zia)

Bcsf7-58

03-Jan-11
1: Ground actions can be performed:

Move Up, Move Down, Move Right, Move Left, Suck

2: Invalid actions for left move

For “Move Left” two actions are invalid i.e. if we are in block “A” or “D”.

Predicates:

1. Vacuum (Machine)
2. Dirty (Room)
3. Suck (Room, Machine)
4. Move(x)

Pre-condition: (conjunction of positive literals)

Vacuum cleaner (x, y) ˄ Dirty (room) ˄ (~x ˅~y) ˄ Suck (dirty, vacuum cleaner)

Post-condition: (conjunction of +ve or –ve literals)

CleanRoom

Action: (Serves as Names)

Vacuum (Dirty)

You might also like