1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
//! Problem domain models. use crate::algorithms::nsga2::Objective; use crate::construction::constraints::ConstraintModule; use crate::construction::heuristics::InsertionContext; 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 = Box<dyn Objective<Solution = InsertionContext> + Send + Sync>; /// An actual constraint. pub type TargetConstraint = Box<dyn ConstraintModule + Send + Sync>;