Enum vrp_cli::extensions::solve::config::ContextPhase
source · pub enum ContextPhase {
Initial {
chance: f64,
},
Exploration {
chance: f64,
},
Exploitation {
chance: f64,
},
}Expand description
A selection phase filter for MutationProbabilityType.
Variants§
Initial
Initial selection phase.
Exploration
Exploration search phase.
Exploitation
Exploitation search phase.
Trait Implementations§
source§impl Clone for ContextPhase
impl Clone for ContextPhase
source§fn clone(&self) -> ContextPhase
fn clone(&self) -> ContextPhase
Returns a copy 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 ContextPhase
impl Debug for ContextPhase
source§impl<'de> Deserialize<'de> for ContextPhase
impl<'de> Deserialize<'de> for ContextPhase
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
Auto Trait Implementations§
impl RefUnwindSafe for ContextPhase
impl Send for ContextPhase
impl Sync for ContextPhase
impl Unpin for ContextPhase
impl UnwindSafe for ContextPhase
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