pub struct VicinityClustering {}
Expand description
Provides a way to change problem definition by reducing total job count using clustering.
Trait Implementations§
Source§impl Default for VicinityClustering
impl Default for VicinityClustering
Source§fn default() -> VicinityClustering
fn default() -> VicinityClustering
Returns the “default value” for a type. Read more
Source§impl HeuristicContextProcessing for VicinityClustering
impl HeuristicContextProcessing for VicinityClustering
Source§type Context = RefinementContext
type Context = RefinementContext
A heuristic context type.
Source§type Objective = GoalContext
type Objective = GoalContext
A heuristic objective type.
Source§type Solution = InsertionContext
type Solution = InsertionContext
A solution type.
Source§fn pre_process(&self, context: Self::Context) -> Self::Context
fn pre_process(&self, context: Self::Context) -> Self::Context
Preprocess a context in order to replace usages of a given context with a new one.
Source§impl HeuristicSolutionProcessing for VicinityClustering
impl HeuristicSolutionProcessing for VicinityClustering
Source§type Solution = InsertionContext
type Solution = InsertionContext
A solution type.
Source§fn post_process(&self, solution: Self::Solution) -> Self::Solution
fn post_process(&self, solution: Self::Solution) -> Self::Solution
Post processes solution.
Auto Trait Implementations§
impl Freeze for VicinityClustering
impl RefUnwindSafe for VicinityClustering
impl Send for VicinityClustering
impl Sync for VicinityClustering
impl Unpin for VicinityClustering
impl UnwindSafe for VicinityClustering
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> 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