#[non_exhaustive]pub enum Objective {
IncreaseDemand,
MinimizeTime,
MaximizeFeasibility,
MinimizeCost,
MaximizeCoverage,
Balance(Vec<Objective>),
Custom(String),
}Expand description
What the system is trying to improve or achieve.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
IncreaseDemand
Increase demand or market reach.
MinimizeTime
Minimize time to completion.
MaximizeFeasibility
Maximize feasibility of solutions.
MinimizeCost
Minimize cost.
MaximizeCoverage
Maximize coverage.
Balance(Vec<Objective>)
Balance multiple objectives.
Custom(String)
Custom objective with description.
Implementations§
Trait Implementations§
impl Eq for Objective
impl StructuralPartialEq for Objective
Auto Trait Implementations§
impl Freeze for Objective
impl RefUnwindSafe for Objective
impl Send for Objective
impl Sync for Objective
impl Unpin for Objective
impl UnwindSafe for Objective
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more