Enum vrp_cli::extensions::solve::config::RuinMethod
source · [−]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,
},
WorstRoute {
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
AdjustedString
Adjusted string removal method.
Neighbour
Neighbour jobs method
RandomJob
Random job removal method.
RandomRoute
Random route removal method.
CloseRoute
Fields
probability: f64Close route removal method.
WorstRoute
Fields
probability: f64RandomRuin
Fields
probability: f64Random ruin removal method.
WorstJob
Worst job removal method.
Cluster
Clustered jobs removal method.
Trait Implementations
sourceimpl Clone for RuinMethod
impl Clone for RuinMethod
sourcefn clone(&self) -> RuinMethod
fn clone(&self) -> RuinMethod
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for RuinMethod
impl Debug for RuinMethod
sourceimpl<'de> Deserialize<'de> for RuinMethod
impl<'de> Deserialize<'de> for RuinMethod
sourcefn 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 RuinMethod
impl Send for RuinMethod
impl Sync for RuinMethod
impl Unpin for RuinMethod
impl UnwindSafe for RuinMethod
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more