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