pub enum CartesianChildSelector<S, V, DM, IDM>where
S: PlanningSolution + 'static,
V: Clone + PartialEq + Send + Sync + Debug + 'static,
DM: CrossEntityDistanceMeter<S> + Clone,
IDM: CrossEntityDistanceMeter<S> + Clone + 'static,{
Flat(VecUnionSelector<S, NeighborhoodMove<S, V>, NeighborhoodLeaf<S, V, DM, IDM>>),
Limited {
selector: VecUnionSelector<S, NeighborhoodMove<S, V>, NeighborhoodLeaf<S, V, DM, IDM>>,
selected_count_limit: usize,
},
}Variants§
Flat(VecUnionSelector<S, NeighborhoodMove<S, V>, NeighborhoodLeaf<S, V, DM, IDM>>)
Limited
Fields
§
selector: VecUnionSelector<S, NeighborhoodMove<S, V>, NeighborhoodLeaf<S, V, DM, IDM>>Trait Implementations§
Source§impl<S, V, DM, IDM> Debug for CartesianChildSelector<S, V, DM, IDM>where
S: PlanningSolution + 'static,
V: Clone + PartialEq + Send + Sync + Debug + 'static,
DM: CrossEntityDistanceMeter<S> + Clone + Debug,
IDM: CrossEntityDistanceMeter<S> + Clone + Debug + 'static,
impl<S, V, DM, IDM> Debug for CartesianChildSelector<S, V, DM, IDM>where
S: PlanningSolution + 'static,
V: Clone + PartialEq + Send + Sync + Debug + 'static,
DM: CrossEntityDistanceMeter<S> + Clone + Debug,
IDM: CrossEntityDistanceMeter<S> + Clone + Debug + 'static,
Source§impl<S, V, DM, IDM> MoveSelector<S, NeighborhoodMove<S, V>> for CartesianChildSelector<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> MoveSelector<S, NeighborhoodMove<S, V>> for CartesianChildSelector<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,
type Cursor<'a> = CartesianChildCursor<S, V> where Self: 'a
fn open_cursor<'a, D: Director<S>>( &'a self, score_director: &D, ) -> Self::Cursor<'a>
fn size<D: Director<S>>(&self, score_director: &D) -> usize
fn iter_moves<'a, D: Director<S>>( &'a self, score_director: &D, ) -> MoveSelectorIter<S, M, Self::Cursor<'a>> ⓘ
fn append_moves<D: Director<S>>( &self, score_director: &D, arena: &mut MoveArena<M>, )
fn is_never_ending(&self) -> bool
Auto Trait Implementations§
impl<S, V, DM, IDM> Freeze for CartesianChildSelector<S, V, DM, IDM>
impl<S, V, DM, IDM> !RefUnwindSafe for CartesianChildSelector<S, V, DM, IDM>
impl<S, V, DM, IDM> Send for CartesianChildSelector<S, V, DM, IDM>
impl<S, V, DM, IDM> !Sync for CartesianChildSelector<S, V, DM, IDM>
impl<S, V, DM, IDM> Unpin for CartesianChildSelector<S, V, DM, IDM>
impl<S, V, DM, IDM> UnsafeUnpin for CartesianChildSelector<S, V, DM, IDM>
impl<S, V, DM, IDM> UnwindSafe for CartesianChildSelector<S, V, DM, IDM>where
DM: UnwindSafe,
IDM: 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
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