Enum vrp_cli::extensions::solve::config::RuinMethod [−][src]
pub enum RuinMethod {
AdjustedString {
probability: f64,
lmax: usize,
cavg: usize,
alpha: f64,
},
Neighbour {
probability: f64,
min: usize,
max: usize,
threshold: f64,
},
RandomJob {
probability: f64,
min: usize,
max: usize,
threshold: f64,
},
RandomRoute {
probability: f64,
min: usize,
max: usize,
threshold: f64,
},
CloseRoute {
probability: f64,
},
RandomRuin {
probability: f64,
},
WorstJob {
probability: f64,
min: usize,
max: usize,
threshold: f64,
skip: usize,
},
Cluster {
probability: f64,
min: usize,
max: usize,
threshold: f64,
min_items: usize,
},
}Expand description
Specifies ruin methods with their probability weight and specific parameters.
Variants
Adjusted string removal method.
Neighbour jobs method
Random job removal method.
Random route removal method.
Close route removal method.
Show fields
Fields of CloseRoute
probability: f64Random ruin removal method.
Show fields
Fields of RandomRuin
probability: f64Worst job removal method.
Clustered jobs removal method.
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 RuinMethodimpl Send for RuinMethodimpl Sync for RuinMethodimpl Unpin for RuinMethodimpl UnwindSafe for RuinMethodBlanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V