1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
//! Problem domain models.
use crate::construction::constraints::ConstraintModule;
use crate::construction::heuristics::InsertionContext;
use rosomaxa::prelude::Objective;
use std::sync::Arc;
mod costs;
pub use self::costs::*;
mod jobs;
pub use self::jobs::*;
mod fleet;
pub use self::fleet::*;
/// An actual objective on solution type.
pub type TargetObjective = Arc<dyn Objective<Solution = InsertionContext> + Send + Sync>;
/// An actual constraint.
pub type TargetConstraint = Arc<dyn ConstraintModule + Send + Sync>;