Next: Resolving Threats to
Up: A Contingency Planning
Previous: Contingency Labels
The planning process starts by constructing a partial plan
consisting of two steps:
- An initial step with no preconditions and with the initial
conditions as its effects;
- A goal step with no effects and with the goal conditions as its
enabling preconditions.
This plan is added to the (initially empty) list of partial plans
PartList. Planning then proceeds as shown in
Figure 13.
Plan(PartList
)
- Choose a partial plan
Plan
from
PartList
;
- If
Plan
is complete, then finish;
- If there is an unsafe link
Unsafe
:
- Do resolve(
Plan
,
Unsafe
) and add the resulting plans to
PartList
;
- Return to step 1;
- If there is an open condition
Open
:
- Do establish(
Plan
,
Open
) and add the
resulting plans to PartList
;
- Return to step 1.
Figure 13: Top level planning algorithm
It now remains to describe how threats to unsafe links are resolved
and how open conditions are established.
Next: Resolving Threats to
Up: A Contingency Planning
Previous: Contingency Labels
Louise
Pryor <louisep@aisb.ed.ac.uk>
Last modified: Mon Mar 18 17:38:01 1996