pub struct PlanGraph {
    pub goals: HashSet<Proposition>,
    pub actions: HashSet<Action>,
    pub layers: Vec<Layer>,
    pub mutex_props: HashMap<usize, HashSet<PairSet<Proposition>>>,
    pub mutex_actions: HashMap<usize, HashSet<PairSet<Action>>>,
}

Fields

goals: HashSet<Proposition>actions: HashSet<Action>layers: Vec<Layer>mutex_props: HashMap<usize, HashSet<PairSet<Proposition>>>mutex_actions: HashMap<usize, HashSet<PairSet<Action>>>

Implementations

Extends the plangraph to depth i+1 Inserts another action layer and proposition layer

Returns the depth of the planning graph

Searches the planning graph for a solution using the solver if there is no solution, extends the graph to depth i+1 and tries to solve again

Takes a solution and filters out maintenance actions

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

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

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.