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§
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
§type Context = RefinementContext
type Context = RefinementContext
A heuristic context type.
§type Objective = GoalContext
type Objective = GoalContext
A heuristic objective type.
§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
§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.