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
A metaheuristic which splits problem into smaller and solves them independently.
Show fields
Fields of Decomposition
routes: MinMaxConfigMax routes to be selected in decomposed solution.
repeat: usizeAmount of attempts to repeat refinement.
probability: MutationProbabilityTypeProbability of mutation.
A local search heuristic.
Show fields
Fields of LocalSearch
probability: MutationProbabilityTypeProbability of mutation.
times: MinMaxConfigAmount of times one of operators is applied.
operators: Vec<LocalOperatorType>Local search operator.
A ruin and recreate metaheuristic settings.
Show fields
Fields of RuinRecreate
probability: MutationProbabilityTypeProbability.
ruins: Vec<RuinGroupConfig>Ruin methods.
recreates: Vec<RecreateMethod>Recreate methods.
Trait Implementations
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 MutationTypeimpl Send for MutationTypeimpl Sync for MutationTypeimpl Unpin for MutationTypeimpl UnwindSafe for MutationTypeBlanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V