Struct vrp_core::solver::mutation::ClusterRemoval [−][src]
pub struct ClusterRemoval { /* fields omitted */ }Expand description
A ruin strategy which removes job clusters using DBSCAN algorithm.
Implementations
pub fn new(
problem: Arc<Problem>,
environment: Arc<Environment>,
min_items: usize,
limits: RuinLimits
) -> Self
pub fn new(
problem: Arc<Problem>,
environment: Arc<Environment>,
min_items: usize,
limits: RuinLimits
) -> Self
Creates a new instance of ClusterRemoval.
Creates a new instance of ClusterRemoval with default parameters.
Trait Implementations
Ruins given solution and returns a new one with less jobs assigned.