The University of Melbourne · FACULTY OF ARTIFICIAL INTELLIGENCE

COMP90054 Chap.4 Delete Relaxation and Planning Heuristics

- one subject, every graph, every model, every mark
5 Chapters3-page Bible
Our own words - no uploaded lecturer files
Updated for this semester
Chapter 4 of 11 · COMP90054

Delete Relaxation and Planning Heuristics

Define delete relaxation

The course material gives this chapter a concrete anchor: Week 4 files focus on delete relaxation and h-FF practice. That delete relaxation anchor controls how relaxed plan is explained and how helpful action is tested in changed practice.

Delete Relaxation and Planning Heuristics turns delete relaxation, relaxed plan and helpful action into executable reasoning.

The chapter's practical target is to construct a relaxed planning graph and use it to guide classical search, so every explanation should connect syntax to program state, control flow and observable output.

Treat delete relaxation as a precise program object, not a loose label. Identify the value or responsibility of delete relaxation before execution, then trace what can read it, change it or depend on it.

This makes state changes visible before they become debugging guesses.

Use relaxed plan to explain the program's next move. Work through one representative relaxed plan input by hand and name the branch, iteration or call that follows. If the relaxed plan trace cannot be stated, the code may run by accident rather than by understood design.

Bring in helpful action as the test of structure.

Compare normal, boundary and invalid inputs for helpful action; state the expected behaviour first; then use the mismatch between expectation and result to localise the defect.

For the application — construct a relaxed planning graph and use it to guide classical search — write the smallest complete example that exposes the rule.

Explain why the helpful action result works, what would break it and how the program should signal or recover from that failure.

Formula checkpoint: delete relaxation

Relaxed-plan heuristic
hFF(s)=RP(s,G)h_{FF}(s)=|RP(s,G)|

A common FF-style estimate is the number of actions in an extracted relaxed plan from state s to goals G.

Trace relaxed plan

Before running an example involving delete relaxation, make a trace table with the important state before and after each operation.

Include the value associated with delete relaxation, the control decision governed by relaxed plan and the output or object affected by helpful action. The delete relaxation table turns an unexplained result into a sequence that can be tested one transition at a time.

Test three inputs: an ordinary case, a boundary case and an invalid case.

State the expected helpful action result for each before execution, then compare it with what the program actually does. A useful test of relaxed plan isolates one rule; changing several conditions at once cannot reveal which condition caused the failure.

Practise explaining the solution without reading the code.

For comp90054, name the data representation, the control flow, the responsibility of each function or class and the reason the chosen design supports construct a relaxed planning graph and use it to guide classical search.

This helpful action rehearsal matters when a written test or interview asks why the program works rather than whether it produces one correct output.

A complete response should make the task visible before the detail: identify what must be decided, define the relevant terms, connect the evidence to relaxed plan, and use helpful action to test the result.

The final sentence about helpful action should answer the question actually asked rather than merely repeat the topic.

The controlling limit is specific: Ignoring deletes can hide resource conflict and subgoal interaction, so a low estimate is not an executable plan.

Keep that helpful action limit beside the worked example, because it separates a careful comp90054 answer from one that sounds confident but claims more than the task or evidence supports.

For revision, retrieve delete relaxation, relaxed plan and helpful action without notes, explain their relationship aloud, then complete a changed version of the application: construct a relaxed planning graph and use it to guide classical search.

Record the first failed relaxed plan reasoning move and repair it before attempting another case.

In this chapter

What this chapter covers

  • 01

    delete relaxation

  • 02

    relaxed plan

  • 03

    helpful action

  • 04

    Applying delete relaxation

  • 05

    Limits of relaxed plan and helpful action

Worked example · free

Interpret a relaxed plan

Q [4 marks]. AskSia-authored practice. A relaxed solution uses four actions, but two require a reusable tool that the real model consumes.
  • 1Report relaxed-plan length four as guidance.
  • 1Restore the tool's delete effect.
  • 1Check ordering and re-acquisition needs.
  • 1Do not execute the relaxed sequence without validation.
The relaxed heuristic may be four, but the real plan can require extra actions or become infeasible because the ignored delete effect creates resource interaction.
Sia tip — A relaxation is useful precisely because it is easier; that ease is also its blind spot.
Glossary

Key terms

delete relaxation
Planning relaxation that ignores action delete effects, making facts persist once achieved. This chapter uses the concept when students construct a relaxed planning graph and use it to guide classical search. Use this definition when the task is to construct a relaxed planning graph and use it to guide classical search.
relaxed plan
Action sequence solving the relaxed problem rather than the full problem. It helps explain the reasoning required to construct a relaxed planning graph and use it to guide classical search. Use this definition when the task is to construct a relaxed planning graph and use it to guide classical search.
helpful action
Action selected from an early relaxed-plan layer as potentially useful search guidance. Its limit matters because ignoring deletes can hide resource conflict and subgoal interaction, so a low estimate is not an executable plan. Use this definition when the task is to construct a relaxed planning graph and use it to guide classical search.
FAQ

Delete Relaxation and Planning Heuristics FAQ

What is the main task in Delete Relaxation and Planning Heuristics?

Construct a relaxed planning graph and use it to guide classical search.

How do delete relaxation and relaxed plan work together?

Use delete relaxation to establish the object or condition, then use relaxed plan to explain how it changes the outcome being analysed.

What must a comp90054 answer qualify here?

Ignoring deletes can hide resource conflict and subgoal interaction, so a low estimate is not an executable plan.

How should I revise Delete Relaxation and Planning Heuristics?

Retrieve delete relaxation, relaxed plan and helpful action, apply them to a changed case, and correct the first point where the evidence no longer supports the conclusion.

Study strategy

Exam move

Reconstruct the relationship among delete relaxation, relaxed plan and helpful action; complete the chapter application without notes; then test the result against this limit: Ignoring deletes can hide resource conflict and subgoal interaction, so a low estimate is not an executable plan.

Working through Delete Relaxation and Planning Heuristics in COMP90054? Sia is AskSia’s AI Artificial Intelligence tutor — ask any COMP90054 Delete Relaxation and Planning Heuristics question and get a clear, step-by-step explanation grounded in how COMP90054 is taught and assessed. Read this chapter free, then take your hardest questions to Sia.

A+Everything unlocked
Unlocks this Bible + all 24 of your The University of Melbourne subjects - and 1,000+ Bibles across every Australian university.
Sia - your COMP90054 tutor, unlimited, worked the way the exam marks it
The full 3-page Bible + practice bank with worked solutions
Chrome extension - sync your LMS so Sia knows your deadlines
Bilingual EN / Chinese on every Bible and every Sia answer
$0.99 Trial
30-day money-back · cancel in one tap · how it works
Unlock the full COMP90054 Bible + 24 The University of Melbourne subjects
$0.99 Trial