pub struct Construction<S, V, DM, IDM>where
S: PlanningSolution,
V: Clone + Copy + PartialEq + Eq + Hash + Into<usize> + Send + Sync + Debug + 'static,
DM: Clone + Debug + Send + 'static,
IDM: Clone + Debug + Send + 'static,{ /* private fields */ }Trait Implementations§
Source§impl<S, V, DM, IDM> Debug for Construction<S, V, DM, IDM>
impl<S, V, DM, IDM> Debug for Construction<S, V, DM, IDM>
Source§impl<S, V, DM, IDM, D, ProgressCb> Phase<S, D, ProgressCb> for Construction<S, V, DM, IDM>where
S: PlanningSolution + 'static,
S::Score: Score + Copy,
V: Clone + Copy + PartialEq + Eq + Hash + Into<usize> + Send + Sync + Debug + 'static,
DM: CrossEntityDistanceMeter<S> + Clone + Debug + Send + 'static,
IDM: CrossEntityDistanceMeter<S> + Clone + Debug + Send + 'static,
D: Director<S>,
ProgressCb: ProgressCallback<S>,
impl<S, V, DM, IDM, D, ProgressCb> Phase<S, D, ProgressCb> for Construction<S, V, DM, IDM>where
S: PlanningSolution + 'static,
S::Score: Score + Copy,
V: Clone + Copy + PartialEq + Eq + Hash + Into<usize> + Send + Sync + Debug + 'static,
DM: CrossEntityDistanceMeter<S> + Clone + Debug + Send + 'static,
IDM: CrossEntityDistanceMeter<S> + Clone + Debug + Send + 'static,
D: Director<S>,
ProgressCb: ProgressCallback<S>,
fn solve(&mut self, solver_scope: &mut SolverScope<'_, S, D, ProgressCb>)
fn phase_type_name(&self) -> &'static str
Auto Trait Implementations§
impl<S, V, DM, IDM> Freeze for Construction<S, V, DM, IDM>
impl<S, V, DM, IDM> !RefUnwindSafe for Construction<S, V, DM, IDM>
impl<S, V, DM, IDM> Send for Construction<S, V, DM, IDM>
impl<S, V, DM, IDM> Sync for Construction<S, V, DM, IDM>
impl<S, V, DM, IDM> Unpin for Construction<S, V, DM, IDM>
impl<S, V, DM, IDM> UnsafeUnpin for Construction<S, V, DM, IDM>
impl<S, V, DM, IDM> !UnwindSafe for Construction<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