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,
},
Farthest {
weight: usize,
},
Perturbation {
weight: usize,
probability: f64,
min: f64,
max: f64,
},
Regret {
weight: usize,
start: usize,
end: usize,
},
}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: usizeFarthest insertion method.
Show fields
Fields of Farthest
weight: usizeTrait Implementations
impl Clone for RecreateMethod[src]
impl Clone for RecreateMethod[src]fn clone(&self) -> RecreateMethod[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl<'de> Deserialize<'de> for RecreateMethod[src]
impl<'de> Deserialize<'de> for RecreateMethod[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl RefUnwindSafe for RecreateMethod
impl RefUnwindSafe for RecreateMethodimpl Send for RecreateMethod
impl Send for RecreateMethodimpl Sync for RecreateMethod
impl Sync for RecreateMethodimpl Unpin for RecreateMethod
impl Unpin for RecreateMethodimpl UnwindSafe for RecreateMethod
impl UnwindSafe for RecreateMethodBlanket Implementations
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,