161k views
3 votes
Consider the following action definitions:

- Action: Get Job
Precond: Degree AND GoodClothes
Effects: HaveMoney

- Action: Go-College
Precond: "Degree AND Smart
Effects: Degree AND Happy

- Action: DonateGoodwill
Precond: GoodClothes
Effects: Generous AND "GoodClothes

- Action: Study
Precond: AtHome
Effects: Smart

- Action: Race
Precond:
Effects: Winner AND "AtHome AND Happy

- Action: Get-Married
Precond: HaveRing
Effect: Married

1. Draw order constraints as dashed lines.
2. Draw causal links as solid lines.
3. Write protected preconditions on the causal link
4. Write open preconditions in red and place them to the left of the action or pseudo-
action
5. Write effects and place them to the right of the action or pseudo-action (Start)
for which they are an effect.

Problem

1. Suppose that your initial state is (GoodClothes ∧ ¬Degree ∧ AtHome ∧ HaveRing),
and that your goal is (Generous ∧ HaveMoney ∧ Winner). Draw the initial partial
order plan.
2. Redraw the initial partial order plan and then add an action to achieve the literal
HaveMoney.
3. Redraw the partial plan from #2 above and add an action to achieve its precondition
of GoodClothes. (Remember that you can add a new action or use an action that is
already part of the plan.)
4. Redraw the partial plan from #3 above and now add an action to achieve the literal
Generous. Be sure to address any conflict between the action and causal links in the
plan. Show the resulting partial order plan.
5. Redraw the partial plan from #4 above and now 1) add an action to achieve the literal
Degree that is a precondition of the action GetJob and 2) add an action to achieve the
precondition GoodClothes of the action DonateGoodwill.
6. Redraw the partial plan from #5 above and now add an action to achieve the literal
Smart.
7. Redraw the partial plan from #6 above and now add an action to achieve the literal
Winner. Be sure to address any conflicts in the plan. Show the resulting partial order
plan.
8. Redraw the partial plan from #7 above and now complete the plan by adding actions
to achieve any remaining open preconditions.
9. List the actions in the order that they could be executed. If there is more than one
possible ordering of actions, list each of them.

User Gil Tene
by
8.7k points

1 Answer

5 votes

Answer:

Expert Answer ; Action: GetJob Precond: Degree AND GoodClothes Effects: HaveMoney ; Action: Precond: Effects: Degree AND Happy ; Go-College Degree AND Smart Degree that is a precondition of the action GetJob and 2) add an action to achieve the precondition GoodClothes of the action DonateGoodwill.

Step-by-step explanation:

User Aranda
by
8.0k points

No related questions found