Planning & Search in Rust
Esc

Loading…

↑↓ move ↵ open Esc close
Colour theme
All algorithms

PDDL+ Plan Validation

Also known as PDDL+

validation pddl-validate

PDDL+ plan validation checks a timed plan in a world that also changes by itself. A process runs while its precondition holds and changes fluents at a constant rate; an event fires at the first instant its precondition holds. Between two plan happenings, the validator splits time into segments with a fixed set of running processes, so every fluent changes linearly in each segment. It finds the exact time at which a process starts or stops or an event becomes enabled at the first root of a linear condition. Enabled events fire together and the check repeats, so one event can trigger the next (a cascade). Dynamics that are not linear are reported as unsupported, never as valid.

Pseudocode

algorithm ValidatePddlPlus(problem, plan)input: a PDDL+ problem with processes and events, a timestamped planoutput: valid, or the first violations ← initial-state(problem)t ← 0for each (t_next, H) in happenings(plan) dorepeats ← fire-cascade(s, t)P ← {p ∈ processes : holds(pre(p), s, t⁺)}   ▷ the processes running just after trates ← linear-rates(P ∪ running-actions(t))t_sw ← first-root(switch-conditions(s, rates), t, t_next)   ▷ t_next if noneif not over-all-hold(s, rates, t, t_sw) thenreturn violation(t, "over all condition")s ← advance-linear(s, rates, t_sw − t)t ← t_swuntil t = t_nexts ← fire-cascade(s, t)                     ▷ what triggers at t_next fires before Hs ← run-happening(H, s)                    ▷ as in temporal plan validationif not holds(goal(problem), s) thenreturn violation(nil, goal(problem))return validfunction fire-cascade(s, t)F ← {e ∈ events : enabled(e, s, t)}while F ≠ ∅ dos ← apply-all(collect-effects(F, s), s)    ▷ all enabled events fire togetherF ← {e ∈ events : enabled(e, s, t)}return s

In the crates

  • pddl-validate

    Validates plans with PDDL+ processes and events under linear dynamics, finding process switches and event triggers exactly at the roots of linear conditions, with event cascades.

    Validator

Lineage

Comes from

generalizes Temporal Plan Validation

Led to

Nothing on this site.

Papers

  1. Modelling Mixed Discrete-Continuous Domains for Planning Maria Fox, Derek Long · 2006· Journal of Artificial Intelligence Research introduces doi 10.1613/jair.2044
  2. VAL: automatic plan validation, continuous effects and mixed initiative planning using PDDL Richard Howey, Derek Long, Maria Fox · 2004· 16th IEEE International Conference on Tools with Artificial Intelligence (ICTAI) applies doi 10.1109/ICTAI.2004.120