pub enum CombinationType {
Lexico,
Pareto,
}Expand description
The way in which combinations of objectives are to be evaluated
Variants§
Lexico
Objectives are lexicographically ordered
A solution is superceeded if it is better in the first objective, or if it is equal in the first objective and better in the second objective, and so on.
Pareto
No objective is more important than another one
A solution is better than another if it is better in at least one objective and not worse in any other objective.
Trait Implementations§
Source§impl Clone for CombinationType
impl Clone for CombinationType
Source§fn clone(&self) -> CombinationType
fn clone(&self) -> CombinationType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CombinationType
impl Debug for CombinationType
Source§impl Default for CombinationType
impl Default for CombinationType
Source§fn default() -> CombinationType
fn default() -> CombinationType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CombinationType
impl<'de> Deserialize<'de> for CombinationType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for CombinationType
impl Hash for CombinationType
Source§impl PartialEq for CombinationType
impl PartialEq for CombinationType
Source§impl Serialize for CombinationType
impl Serialize for CombinationType
impl StructuralPartialEq for CombinationType
Auto Trait Implementations§
impl Freeze for CombinationType
impl RefUnwindSafe for CombinationType
impl Send for CombinationType
impl Sync for CombinationType
impl Unpin for CombinationType
impl UnwindSafe for CombinationType
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