pub struct RuntimeCompoundMove<S> { /* private fields */ }Expand description
A selected runtime-provider result. The callback reason is a compact per-run arena ID. It deliberately never participates in tabu or candidate-trace identity, and candidate moves never clone/refcount labels.
Trait Implementations§
Source§impl<S> Clone for RuntimeCompoundMove<S>
impl<S> Clone for RuntimeCompoundMove<S>
Source§impl<S> Debug for RuntimeCompoundMove<S>
impl<S> Debug for RuntimeCompoundMove<S>
Source§impl<S> Move<S> for RuntimeCompoundMove<S>where
S: PlanningSolution,
impl<S> Move<S> for RuntimeCompoundMove<S>where
S: PlanningSolution,
type Undo = Vec<Option<usize>>
fn is_doable<D: Director<S>>(&self, score_director: &D) -> bool
fn do_move<D: Director<S>>(&self, score_director: &mut D) -> Self::Undo
fn undo_move<D: Director<S>>(&self, score_director: &mut D, undo: Self::Undo)
fn descriptor_index(&self) -> usize
fn entity_indices(&self) -> &[usize]
fn variable_name(&self) -> &str
fn telemetry_label(&self) -> &'static str
fn requires_hard_improvement(&self) -> bool
fn tabu_signature<D: Director<S>>( &self, score_director: &D, ) -> MoveTabuSignature
Source§fn candidate_trace_identity(&self) -> Option<CandidateTraceIdentity>
fn candidate_trace_identity(&self) -> Option<CandidateTraceIdentity>
Returns the canonical identity used by opt-in candidate-pull tracing. Read more
fn for_each_affected_entity( &self, visitor: &mut dyn FnMut(MoveAffectedEntity<'_>), )
fn requires_score_improvement(&self) -> bool
Auto Trait Implementations§
impl<S> !RefUnwindSafe for RuntimeCompoundMove<S>
impl<S> !UnwindSafe for RuntimeCompoundMove<S>
impl<S> Freeze for RuntimeCompoundMove<S>
impl<S> Send for RuntimeCompoundMove<S>
impl<S> Sync for RuntimeCompoundMove<S>
impl<S> Unpin for RuntimeCompoundMove<S>
impl<S> UnsafeUnpin for RuntimeCompoundMove<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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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