pub enum CartesianChildCursor<'a, S, V, DM, IDM>where
S: PlanningSolution + 'static,
V: Clone + PartialEq + Send + Sync + Debug + 'static,
DM: CrossEntityDistanceMeter<S> + Clone + Debug + 'static,
IDM: CrossEntityDistanceMeter<S> + Clone + Debug + 'static,{
Flat(<VecUnionSelector<S, NeighborhoodMove<S, V>, NeighborhoodLeaf<S, V, DM, IDM>> as MoveSelector<S, NeighborhoodMove<S, V>>>::Cursor<'a>),
Limited(LimitedMoveCursor<<VecUnionSelector<S, NeighborhoodMove<S, V>, NeighborhoodLeaf<S, V, DM, IDM>> as MoveSelector<S, NeighborhoodMove<S, V>>>::Cursor<'a>>),
}Variants§
Flat(<VecUnionSelector<S, NeighborhoodMove<S, V>, NeighborhoodLeaf<S, V, DM, IDM>> as MoveSelector<S, NeighborhoodMove<S, V>>>::Cursor<'a>)
Limited(LimitedMoveCursor<<VecUnionSelector<S, NeighborhoodMove<S, V>, NeighborhoodLeaf<S, V, DM, IDM>> as MoveSelector<S, NeighborhoodMove<S, V>>>::Cursor<'a>>)
Trait Implementations§
Source§impl<S, V, DM, IDM> MoveCursor<S, NeighborhoodMove<S, V>> for CartesianChildCursor<'_, S, V, DM, IDM>where
S: PlanningSolution + 'static,
V: Clone + PartialEq + Send + Sync + Debug + 'static,
DM: CrossEntityDistanceMeter<S> + Clone + Debug + 'static,
IDM: CrossEntityDistanceMeter<S> + Clone + Debug + 'static,
impl<S, V, DM, IDM> MoveCursor<S, NeighborhoodMove<S, V>> for CartesianChildCursor<'_, S, V, DM, IDM>where
S: PlanningSolution + 'static,
V: Clone + PartialEq + Send + Sync + Debug + 'static,
DM: CrossEntityDistanceMeter<S> + Clone + Debug + 'static,
IDM: CrossEntityDistanceMeter<S> + Clone + Debug + 'static,
fn next_candidate(&mut self) -> Option<CandidateId>
fn candidate( &self, index: CandidateId, ) -> Option<MoveCandidateRef<'_, S, NeighborhoodMove<S, V>>>
fn take_candidate(&mut self, index: CandidateId) -> NeighborhoodMove<S, V>
fn selector_index(&self, index: CandidateId) -> Option<usize>
Auto Trait Implementations§
impl<'a, S, V, DM, IDM> Freeze for CartesianChildCursor<'a, S, V, DM, IDM>
impl<'a, S, V, DM, IDM> RefUnwindSafe for CartesianChildCursor<'a, S, V, DM, IDM>
impl<'a, S, V, DM, IDM> Send for CartesianChildCursor<'a, S, V, DM, IDM>
impl<'a, S, V, DM, IDM> Sync for CartesianChildCursor<'a, S, V, DM, IDM>
impl<'a, S, V, DM, IDM> Unpin for CartesianChildCursor<'a, S, V, DM, IDM>
impl<'a, S, V, DM, IDM> UnsafeUnpin for CartesianChildCursor<'a, S, V, DM, IDM>
impl<'a, S, V, DM, IDM> UnwindSafe for CartesianChildCursor<'a, S, V, DM, IDM>
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more