Checking whether an ordering repair protects every execution

A classical planning model for a test line contains four actions. Each action occurs exactly once, all listed facts are initially false, and the final goal is Released. A dash denotes an empty set. There are no unlisted effects or preconditions.


Action

Preconditions

Add effects

Delete effects

P: Prime

—

Ready

—

T: Test

Ready

Tested

—

F: Flush

—

Flushed

Ready

R: Release

Tested, Flushed

Released

—


The original partial order requires P before T, T before R, and F before R. Before means strictly earlier in a sequential execution. The diagram shows these constraints.


The original partial order places Prime before Test, Test before Release, and Flush before Release.


A causal link records that one action supplies a fact required by another, with that fact protected between the two actions. Here P supplies Ready to T. F threatens that support if it occurs between P and T.


Consider each proposed extra constraint independently, retaining all original constraints. Enter exactly one classification per row:

  • safe: the combined constraints are consistent, and every permitted total ordering executes successfully and achieves Released;
  • unsafe: the combined constraints are consistent, but at least one permitted total ordering fails;
  • inconsistent: the combined constraints contain an ordering cycle, so no total ordering exists.

One successful total ordering does not establish that a partial order is safe.

Added constraintClassification
F before P
T before F
F before T
R before F

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

More Classical Planning Questions: