Struct vrp_core::solver::processing::VicinityClustering
source · [−]pub struct VicinityClustering {}Expand description
Provides way to change problem definition by reducing total job count using clustering.
Trait Implementations
sourceimpl Default for VicinityClustering
impl Default for VicinityClustering
sourcefn default() -> VicinityClustering
fn default() -> VicinityClustering
Returns the “default value” for a type. Read more
sourceimpl HeuristicContextProcessing for VicinityClustering
impl HeuristicContextProcessing for VicinityClustering
type Context = RefinementContext
type Context = RefinementContext
A heuristic context type.
type Objective = ProblemObjective
type Objective = ProblemObjective
A heuristic objective type.
type Solution = InsertionContext
type Solution = InsertionContext
A solution type.
sourcefn 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.
sourceimpl HeuristicSolutionProcessing for VicinityClustering
impl HeuristicSolutionProcessing for VicinityClustering
type Solution = InsertionContext
type Solution = InsertionContext
A solution type.
sourcefn post_process(&self, solution: Self::Solution) -> Self::Solution
fn post_process(&self, solution: Self::Solution) -> Self::Solution
Post processes solution.
Auto Trait Implementations
impl RefUnwindSafe for VicinityClustering
impl Send for VicinityClustering
impl Sync for VicinityClustering
impl Unpin for VicinityClustering
impl UnwindSafe for VicinityClustering
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more