Trait vrp_core::models::FeatureObjective
source · pub trait FeatureObjective: Objective {
// Required method
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.