[][src]Enum vrp_cli::extensions::solve::config::RuinMethod

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,
    },
    WorstJob {
        probability: f64,
        min: usize,
        max: usize,
        threshold: f64,
        skip: usize,
    },
    Cluster {
        probability: f64,
        min: usize,
        max: usize,
        threshold: f64,
        cmin: usize,
        cmax: usize,
    },
}

Specifies ruin methods with their probability weight and specific parameters.

Variants

AdjustedString

Adjusted string removal method.

Fields of AdjustedString

probability: f64lmax: usizecavg: usizealpha: f64
Neighbour

Neighbour jobs method

Fields of Neighbour

probability: f64min: usizemax: usizethreshold: f64
RandomJob

Random job removal method.

Fields of RandomJob

probability: f64min: usizemax: usizethreshold: f64
RandomRoute

Random route removal method.

Fields of RandomRoute

probability: f64min: usizemax: usizethreshold: f64
WorstJob

Worst job removal method.

Fields of WorstJob

probability: f64min: usizemax: usizethreshold: f64skip: usize
Cluster

Clustered jobs removal method.

Fields of Cluster

probability: f64min: usizemax: usizethreshold: f64cmin: usizecmax: usize

Trait Implementations

impl Clone for RuinMethod[src]

impl Debug for RuinMethod[src]

impl<'de> Deserialize<'de> for RuinMethod[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,