Enum vrp_cli::extensions::solve::config::MutationType [−][src]
pub enum MutationType {
Decomposition {
routes: MinMaxConfig,
repeat: usize,
probability: MutationProbabilityType,
},
LocalSearch {
probability: MutationProbabilityType,
times: MinMaxConfig,
operators: Vec<LocalOperatorType>,
},
RuinRecreate {
probability: MutationProbabilityType,
ruins: Vec<RuinGroupConfig>,
recreates: Vec<RecreateMethod>,
},
}Expand description
A mutation operator configuration.
Variants
Expand description
A metaheuristic which splits problem into smaller and solves them independently.
Show fields
Fields of Decomposition
routes: MinMaxConfigExpand description
Max routes to be selected in decomposed solution.
repeat: usizeExpand description
Amount of attempts to repeat refinement.
probability: MutationProbabilityTypeExpand description
Probability of mutation.
Expand description
A local search heuristic.
Show fields
Fields of LocalSearch
probability: MutationProbabilityTypeExpand description
Probability of mutation.
times: MinMaxConfigExpand description
Amount of times one of operators is applied.
operators: Vec<LocalOperatorType>Expand description
Local search operator.
Expand description
A ruin and recreate metaheuristic settings.
Show fields
Fields of RuinRecreate
probability: MutationProbabilityTypeExpand description
Probability.
ruins: Vec<RuinGroupConfig>Expand description
Ruin methods.
recreates: Vec<RecreateMethod>Expand description
Recreate methods.
Trait Implementations
impl Clone for MutationType[src]
impl Clone for MutationType[src]fn clone(&self) -> MutationType[src]
fn clone(&self) -> MutationType[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]Performs copy-assignment from source. Read more
impl Debug for MutationType[src]
impl Debug for MutationType[src]impl<'de> Deserialize<'de> for MutationType[src]
impl<'de> Deserialize<'de> for MutationType[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for MutationType
impl Send for MutationType
impl Sync for MutationType
impl Unpin for MutationType
impl UnwindSafe for MutationType
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for Timpl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>, pub fn vzip(self) -> V
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,