Expand description
Abstract Syntax Tree (AST) for PDDL domain and problem files.
Every type here is produced by the parser (see super::parser). The AST is a direct
structural representation of the PDDL syntax: no semantic analysis, type checking, or
planning is performed at this stage.
Structs§
- Atomic
Formula - A predicate applied to arguments, e.g.
(at truck1 city-a). - Basic
Action - A non-temporal (instantaneous) PDDL action defined with
:action. - Derived
Predicate - A derived predicate (
:derived) with axiom body. - Domain
- A parsed PDDL domain file.
- Durative
Action - A temporal PDDL action defined with
:durative-action. - Function
Decl - A numeric function declaration from
:functions, with optional return type. - Function
Term - A reference to a numeric function (fluent) with its arguments.
- Metric
Spec - The
:metricspecification combining optimization direction and expression. - Predicate
Decl - A predicate declaration from the
:predicatessection, with name and typed parameters. - Problem
- A parsed PDDL problem file.
- Typed
Group - A group of items sharing a common PDDL type.
Enums§
- Assign
Op - Numeric assignment operators for
Effect::NumericAssign. - Binary
Op - Arithmetic binary operators for
NumericExpr::BinaryOp. - Compare
Op - Numeric comparison operators used in
Condition::NumericComparisonandDurationConstraint::Cmp. - Condition
- A condition (goal description) in PDDL.
- Duration
Constraint - Duration constraint on a durative action (e.g.
(= ?duration 5),(>= ?duration (distance ?x ?y))). - Effect
- An action effect.
- Init
Element - An element of the problem’s
:initsection. - Numeric
Expr - A numeric expression tree used in preconditions, effects, durations, and metrics.
- Optimization
- Optimization direction for the
:metricspecification. - Requirement
- PDDL requirement flags declared in the
:requirementssection of a domain. - Term
- A term appearing as an argument to a predicate or function.
Type Aliases§
- Name
- A symbol name: predicate/action/object names, type names, etc.
- Type
Declarations - Represents type declarations like
driver truck obj - locatable. - Typed
List - A sequence of typed groups; the standard PDDL typed-list construct (e.g.
?x ?y - type1 ?z - type2). - Variable
- A variable reference including the leading
?(e.g.?x,?from).