Struct vrp_core::solver::objectives::TourOrder [−][src]
pub struct TourOrder {}Expand description
Allows to control desired activity order in tours.
Implementations
pub fn new_unconstrained(
order_func: Arc<dyn Fn(&Single) -> Option<f64> + Send + Sync>
) -> (TargetConstraint, TargetObjective)
pub fn new_unconstrained(
order_func: Arc<dyn Fn(&Single) -> Option<f64> + Send + Sync>
) -> (TargetConstraint, TargetObjective)
Creates instances of unconstrained tour order logic. Unconstrained means that more prioritized job can be assigned after less prioritized in the tour if it leads to a better solution.