An example of hierarchical planning - PowerPoint PPT Presentation

About This Presentation
Title:

An example of hierarchical planning

Description:

Search our library of plan operators for ways of achieving the goal ... ACTOR = Ed TRAIN=10-am-train. Be-at (Ed, 10am-train) Have (Ed, ticket (10am-train) ... – PowerPoint PPT presentation

Number of Views:52
Avg rating:3.0/5.0
Slides: 35
Provided by: Bate9
Category:

less

Transcript and Presenter's Notes

Title: An example of hierarchical planning


1
An example of hierarchical planning(1)
planning a sequence of actions- N.B. not yet
linguistic!
2
A goal to be achieved by planning
  • Task
  • Ed wants to be in New York
  • Formalization as a plan goal
  • be-at (Ed, New York)
  • The algorithm Top-down hierarchical planning
  • Search our library of plan operators for ways of
    achieving the goal
  • For an operator to be usable, the preconditions
    much match the state of the world
  • For an operator to be useful, the effect must
    leave us nearer to achieving our goal than we
    were before!

3
Do we have a plan operator with a useful effect?
be-at (Ed, New York)
4
Our PLAN OPERATORS
?
5
(No Transcript)
6
(No Transcript)
7
be-at (Ed, New York)
8
be-at (Ed, New York)
9
be-at (Ed, New York)
10
Do we have a plan operator with a useful effect?
be-at (Ed, New York)
11
Our PLAN OPERATORS
cost?time?
12
This one looks promising, the planning process
decides to take a closer look
13
We have a useful plan operator so we
instantiate the operator
Task goal be-at (Ed, NY)
14
(No Transcript)
15
(No Transcript)
16
ACTOR Ed TRAIN?train DESTINATION NY
17
Testing phase
  • Do the preconditions hold?
  • If not, we have to make them hold by planning
    further before we can carry out the action and
    get the desired effect
  • When the preconditions hold, we can achieve the
    effect by adding the actions in the body into our
    plan. This is the hierarchical expansion of the
    plan tree.

18
Do the preconditions hold?
ACTOR Ed TRAIN?train DESTINATION NY
19
The preconditions do not yet match the world
unfortunately
PRECONDITIONS
WORLD
Destination (?train, NY) On-board (Ed, ?train)
Be-at (Ed, Washington)
20
We set up some new goals (called posting) and
see if we can plan for them to be achieved
PRECONDITIONS
GOALS

Destination (?train, NY) On-board (Ed, ?train)
  • Lets us assume that there are lots of trains to
    NY from Washington, so the first goal can be
    filled in directly (be satisfied) by looking in
    a database, e.g.
  • destination (9am-train, NY)
  • destination (10am-train ,NY)
  • destination (11am-train, NY).

21
We set up some new goals (called posting) and
see if we can plan for them to be achieved
PRECONDITIONS
GOALS
Destination (?train, NY) On-board (Ed, ?train)
  • The second goal takes more work. We have to look
    in our plan library for operators with an effect
    that is relevant for
  • On-board (Ed, 10am-train)

22
Do we have a plan operator with a useful effect?
On-board (Ed, 10am-train)
23
On-board (Ed, 10am-train)
?
24
On-board (Ed, 10am-train)
25
On-board (Ed, 10am-train)
26
On-board (Ed, 10am-train)
This one looks promising, the planning process
decides to take a closer look
27
(No Transcript)
28
(No Transcript)
29
ACTOR Ed TRAIN 10am-train
30
Do the preconditions hold?
ACTOR Ed TRAIN10-am-train
31
The preconditions do not yet match the world
unfortunately
PRECONDITIONS
WORLD
Be-at (Ed, 10am-train) Have (Ed, ticket
(10am-train))
Be-at (Ed, Washington)
Further planning as above
32
Resulting in a final complete hierarchical plan
33
A complete plan
  • is a hierarchically organized sequence of actions
  • carrying out the actions in sequence will
    guarantee that the preconditions for achieving
    and subsequent effect are met in time
  • when all the sub-actions of a more abstract
    action have been performed, the abstract action
    has also been achieved and the corresponding
    effect also

34
COMPLETE SUMMARY OF THE PLAN and PLAN LIBRARY
(Bateman Zock, 2003)
Write a Comment
User Comments (0)
About PowerShow.com