pub struct KOptMoveSelector<S, V, ES> { /* private fields */ }Expand description
A move selector that generates k-opt moves.
Enumerates all valid cut point combinations for each selected entity and generates moves for each reconnection pattern.
Implementations§
Source§impl<S: PlanningSolution, V, ES> KOptMoveSelector<S, V, ES>
impl<S: PlanningSolution, V, ES> KOptMoveSelector<S, V, ES>
Trait Implementations§
Source§impl<S, V, ES> MoveSelector<S, KOptMove<S, V>> for KOptMoveSelector<S, V, ES>
impl<S, V, ES> MoveSelector<S, KOptMove<S, V>> for KOptMoveSelector<S, V, ES>
Auto Trait Implementations§
impl<S, V, ES> Freeze for KOptMoveSelector<S, V, ES>where
ES: Freeze,
impl<S, V, ES> RefUnwindSafe for KOptMoveSelector<S, V, ES>where
ES: RefUnwindSafe,
impl<S, V, ES> Send for KOptMoveSelector<S, V, ES>where
ES: Send,
impl<S, V, ES> Sync for KOptMoveSelector<S, V, ES>where
ES: Sync,
impl<S, V, ES> Unpin for KOptMoveSelector<S, V, ES>where
ES: Unpin,
impl<S, V, ES> UnsafeUnpin for KOptMoveSelector<S, V, ES>where
ES: UnsafeUnpin,
impl<S, V, ES> UnwindSafe for KOptMoveSelector<S, V, ES>where
ES: 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