[][src]Struct graphplan::GraphPlan

pub struct GraphPlan<ActionId: Debug + Hash + Ord + Clone, T: GraphPlanSolver<ActionId>> {
    pub solver: T,
    pub plangraph: PlanGraph<ActionId>,
}

Fields

solver: Tplangraph: PlanGraph<ActionId>

Methods

impl<ActionId: Debug + Hash + Ord + Clone, T: GraphPlanSolver<ActionId>> GraphPlan<ActionId, T>[src]

pub fn new(
    initial_props: HashSet<Proposition>,
    goals: HashSet<Proposition>,
    actions: HashSet<Action<ActionId>>,
    solver: T
) -> GraphPlan<ActionId, T>
[src]

pub fn search(&mut self) -> Option<Solution<ActionId>>[src]

Auto Trait Implementations

impl<ActionId, T> RefUnwindSafe for GraphPlan<ActionId, T> where
    ActionId: RefUnwindSafe,
    T: RefUnwindSafe

impl<ActionId, T> Send for GraphPlan<ActionId, T> where
    ActionId: Send,
    T: Send

impl<ActionId, T> Sync for GraphPlan<ActionId, T> where
    ActionId: Sync,
    T: Sync

impl<ActionId, T> Unpin for GraphPlan<ActionId, T> where
    ActionId: Unpin,
    T: Unpin

impl<ActionId, T> UnwindSafe for GraphPlan<ActionId, T> where
    ActionId: UnwindSafe,
    T: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.