pddl-validate 0.0.0

Independent PDDL plan validator: classical, numeric and temporal plans with precise diagnostics
Documentation
//! # PDDL plan validation
//!
//! Independent PDDL plan validator: classical, numeric and temporal plans with precise diagnostics.
//!
//! Part of the pddl-rs workspace. It builds on the `pddl` syntax tree and implements the
//! validation semantics independently of any planner or grounder.
//!
//! ## Status
//!
//! Pre-release. Version 0.0.0 reserves the name; the API is not started yet and will change.
//!
//! Repository: <https://github.com/sunsided/pddl-rs>

#![no_std]

/// The overall result of validating a plan.
///
/// [`ValidationStatus::Unsupported`] is distinct from both other outcomes: a plan that uses
/// constructs the validator cannot interpret is never reported as valid.
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
pub enum ValidationStatus {
    /// The plan is executable and reaches the goal.
    Valid,
    /// The plan violates the domain or problem semantics.
    Invalid,
    /// The plan uses a construct the validator does not support.
    Unsupported,
}