pub struct ConflictRepairSelector<S> { /* private fields */ }Implementations§
Source§impl<S> ConflictRepairSelector<S>
impl<S> ConflictRepairSelector<S>
pub fn new( config: ConflictRepairMoveSelectorConfig, scalar_variables: Vec<ScalarVariableSlot<S>>, repairs: Vec<ConflictRepair<S>>, ) -> Self
pub fn new_compound( config: CompoundConflictRepairMoveSelectorConfig, scalar_variables: Vec<ScalarVariableSlot<S>>, repairs: Vec<ConflictRepair<S>>, ) -> Self
Trait Implementations§
Source§impl<S> Debug for ConflictRepairSelector<S>
impl<S> Debug for ConflictRepairSelector<S>
Source§impl<S> MoveSelector<S, ScalarMoveUnion<S, usize>> for ConflictRepairSelector<S>where
S: PlanningSolution + 'static,
impl<S> MoveSelector<S, ScalarMoveUnion<S, usize>> for ConflictRepairSelector<S>where
S: PlanningSolution + 'static,
type Cursor<'a> = ConflictRepairCursor<S> 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> Freeze for ConflictRepairSelector<S>
impl<S> RefUnwindSafe for ConflictRepairSelector<S>
impl<S> Send for ConflictRepairSelector<S>
impl<S> Sync for ConflictRepairSelector<S>
impl<S> Unpin for ConflictRepairSelector<S>
impl<S> UnsafeUnpin for ConflictRepairSelector<S>
impl<S> UnwindSafe for ConflictRepairSelector<S>
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