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,
max: usize,
},
Nearest {
weight: usize,
},
SkipRandom {
weight: usize,
},
Slice {
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.
Fields of Cheapest
weight: usizeSkipBest insertion method.
Insertion with blinks method.
Fields of Blinks
weight: usizeInsertion with gaps method.
Nearest neighbour method.
Fields of Nearest
weight: usizeInsertion with skip random method.
Fields of SkipRandom
weight: usizeInsertion with slice method.
Fields of Slice
weight: usizeFarthest insertion method.
Fields of Farthest
weight: usizeInsertion with perturbation method.
Insertion with regret 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 RecreateMethod
impl Send for RecreateMethod
impl Sync for RecreateMethod
impl Unpin for RecreateMethod
impl UnwindSafe for RecreateMethod
Blanket Implementations
Mutably borrows from an owned value. Read more