pub struct Problem<Sp: StateSpace, Sa, C, St> {
pub space: Sp,
pub sampler: Sa,
pub checker: C,
pub steering: St,
pub start: Sp::State,
pub goal: GoalRegion<Sp::State>,
}Expand description
Everything a planner needs to know about the world.
Sa is a Sampler, C a ValidityChecker and
St a Steering function, all over the space Sp. Planners take the
problem by value and check the start state when they are created.
Fields§
§space: SpThe configuration space.
sampler: SaDraws the states the planner grows toward.
checker: CDecides which states and motions are allowed.
steering: StExtends nodes toward samples.
start: Sp::StateThe initial state. Must be Validity::Valid.
goal: GoalRegion<Sp::State>Where the path has to end.
Trait Implementations§
Auto Trait Implementations§
impl<Sp, Sa, C, St> Forget for Problem<Sp, Sa, C, St>
impl<Sp, Sa, C, St> Freeze for Problem<Sp, Sa, C, St>where
Sp: Freeze,
Sa: Freeze,
C: Freeze,
St: Freeze,
<Sp as StateSpace>::State: Freeze,
GoalRegion<<Sp as StateSpace>::State>: Freeze,
impl<Sp, Sa, C, St> Move for Problem<Sp, Sa, C, St>
impl<Sp, Sa, C, St> RefUnwindSafe for Problem<Sp, Sa, C, St>where
Sp: RefUnwindSafe,
Sa: RefUnwindSafe,
C: RefUnwindSafe,
St: RefUnwindSafe,
<Sp as StateSpace>::State: RefUnwindSafe,
GoalRegion<<Sp as StateSpace>::State>: RefUnwindSafe,
impl<Sp, Sa, C, St> Send for Problem<Sp, Sa, C, St>where
Sp: Send,
St: Send,
C: Send,
Sa: Send,
<Sp as StateSpace>::State: Send,
GoalRegion<<Sp as StateSpace>::State>: Send,
impl<Sp, Sa, C, St> Sync for Problem<Sp, Sa, C, St>where
Sp: Sync,
St: Sync,
C: Sync,
Sa: Sync,
<Sp as StateSpace>::State: Sync,
GoalRegion<<Sp as StateSpace>::State>: Sync,
impl<Sp, Sa, C, St> Unpin for Problem<Sp, Sa, C, St>where
Sp: Unpin,
St: Unpin,
C: Unpin,
Sa: Unpin,
<Sp as StateSpace>::State: Unpin,
GoalRegion<<Sp as StateSpace>::State>: Unpin,
impl<Sp, Sa, C, St> UnsafeUnpin for Problem<Sp, Sa, C, St>where
Sp: UnsafeUnpin,
Sa: UnsafeUnpin,
C: UnsafeUnpin,
St: UnsafeUnpin,
<Sp as StateSpace>::State: UnsafeUnpin,
GoalRegion<<Sp as StateSpace>::State>: UnsafeUnpin,
impl<Sp, Sa, C, St> UnwindSafe for Problem<Sp, Sa, C, St>where
Sp: UnwindSafe,
Sa: UnwindSafe,
C: UnwindSafe,
St: UnwindSafe,
<Sp as StateSpace>::State: UnwindSafe,
GoalRegion<<Sp as StateSpace>::State>: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more