Enum vrp_cli::extensions::solve::config::RecreateMethod [−][src]
pub enum RecreateMethod {
Cheapest {
weight: usize,
},
SkipBest {
weight: usize,
start: usize,
end: usize,
},
Blinks {
weight: usize,
},
Gaps {
weight: usize,
min: usize,
},
Nearest {
weight: usize,
},
SkipRandom {
weight: usize,
},
Farthest {
weight: usize,
},
Perturbation {
weight: usize,
probability: f64,
min: f64,
max: f64,
},
Regret {
weight: usize,
start: usize,
end: usize,
},
}Expand description
Specifies recreate methods with their probability weight and specific parameters.
Variants
Cheapest insertion method.
Show fields
Fields of Cheapest
weight: usizeSkipBest insertion method.
Insertion with blinks method.
Show fields
Fields of Blinks
weight: usizeInsertion with gaps method.
Nearest neighbour method.
Show fields
Fields of Nearest
weight: usizeInsertion with skip random method.
Show fields
Fields of SkipRandom
weight: usizeFarthest insertion method.
Show fields
Fields of Farthest
weight: usizeTrait 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 RecreateMethodimpl Send for RecreateMethodimpl Sync for RecreateMethodimpl Unpin for RecreateMethodimpl UnwindSafe for RecreateMethodBlanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V