Trait vrp_core::models::problem::FeatureObjective
source · pub trait FeatureObjective: Objective {
fn estimate(&self, move_ctx: &MoveContext<'_>) -> Cost;
}Expand description
Defines feature objective behavior.
Required Methods§
sourcefn estimate(&self, move_ctx: &MoveContext<'_>) -> Cost
fn estimate(&self, move_ctx: &MoveContext<'_>) -> Cost
Estimates a cost of insertion.