Skip to content
StackDecode
AI & ML Atlas
Artificial IntelligencealgorithmInteractive simulation

STRIPS Planning

Plans with actions defined by preconditions, an add list and a delete list.

The idea

STRIPS describes the world as a set of true facts. An action can run only if its preconditions are in that set; running it deletes some facts and adds others. Planning is then search through fact sets. The blocks world (stack, unstack, pick up, put down) is the classic example.

next = (state − delete) ∪ add

Watch it run

This is a real computation, not a drawing. Pause, step, change the settings, or try new random data.

spot 1spot 2BCspot 3A
  • block A
  • block B
  • block C

Goal: a single tower with A on B on C. State is described by facts such as on(A,B), clear(A), and an action has preconditions and effects. A planner searches for the shortest sequence of actions.

plan length:
3
1/5

New random data picks a different starting arrangement.

Step by step

  1. 1List the true facts of the initial state.
  2. 2Find an action whose preconditions are all true.
  3. 3Remove its delete-list facts and add its add-list facts.
  4. 4Repeat until all goal facts are true.

Where it is used

Classical planners and the PDDL language that grew from it.

Watch out for

Assumes a fully known, deterministic world, with no uncertainty.

Related