Skip to main content

Construct

Enum Construct 

Source
#[non_exhaustive]
pub enum Construct {
Show 14 variants UnknownRequirement(String), DomainExtension, Timeless, NonlinearDynamics, DerivedPredicatesInTemporalPlans, TimedEffectConditions, NestedAssignments, DiscreteProcessEffects, ZenoDynamics, Constraints, Preferences, ObjectFluents, UnstratifiedDerivedPredicates, EqualityEffects,
}
Expand description

The PDDL constructs the validator does not interpret yet.

Variants (Non-exhaustive)§

This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
§

UnknownRequirement(String)

A requirement flag the pddl parser does not know.

§

DomainExtension

PDDL 1.2 :extends.

§

Timeless

PDDL 1.2 :timeless facts.

§

NonlinearDynamics

Continuous change whose rate depends on a continuously changing fluent, or an over all condition that is not linear in time (level 4 dynamics).

§

DerivedPredicatesInTemporalPlans

Derived predicates in a temporal plan, whose interference this validator does not decide.

§

TimedEffectConditions

A conditional effect of a durative action with an over all condition, or with an at end condition on an at start effect.

§

NestedAssignments

An assignment nested inside a numeric expression of a durative action.

§

DiscreteProcessEffects

A PDDL+ process effect that is not continuous, such as (at start ...) or when.

§

ZenoDynamics

PDDL+ dynamics that switch processes or fire events without end, such as a process that turns itself off and on again at one instant (Zeno behaviour). Also reported when legal dynamics need more than the validator’s segment limit (100 000 process switches or event firings between two plan happenings), so a very busy model is unsupported rather than validated.

§

Constraints

State-trajectory constraints.

§

Preferences

Preferences, and is-violated in a metric.

§

ObjectFluents

Object-valued fluents.

§

UnstratifiedDerivedPredicates

Derived predicates that depend on their own negation, so no stratification exists.

§

EqualityEffects

Effects on =. The static check rejects them as malformed, so validation never meets one; should it, the plan is not accepted.

Trait Implementations§

Source§

impl Clone for Construct

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Construct

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Display for Construct

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Eq for Construct

Source§

impl PartialEq for Construct

Source§

fn eq(&self, other: &Self) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for Construct

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<V, T, O> Accept<V, T, O> for T
where V: Visitor<T, O>,

Source§

fn accept(&self, v: &V) -> O

Lets the visitor v visit self.
Source§

impl<V, T, O> AcceptMut<V, T, O> for T
where V: VisitorMut<T, O>,

Source§

fn accept_mut(&self, v: &mut V) -> O

Lets the mutable visitor v visit self.
Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.