Struct vrp_core::solver::mutation::RecreateWithRegret [−][src]
pub struct RecreateWithRegret { /* fields omitted */ }Expand description
A recreate strategy which computes the difference in cost of inserting customer in its
best and kth best route, where k is a user-defined parameter. Then it inserts the
customer with the max difference in its least cost position.
Implementations
Trait Implementations
fn run(
&self,
refinement_ctx: &RefinementContext,
insertion_ctx: InsertionContext
) -> InsertionContext
fn run(
&self,
refinement_ctx: &RefinementContext,
insertion_ctx: InsertionContext
) -> InsertionContext
Recreates a new solution from the given.