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

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,
    },
    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,
    },
}

Specifies ruin methods with their probability weight and specific parameters.

Variants

AdjustedString

Adjusted string removal method.

Show fields

Fields of AdjustedString

probability: f64lmax: usizecavg: usizealpha: f64
Neighbour

Neighbour jobs method

Show fields

Fields of Neighbour

probability: f64min: usizemax: usizethreshold: f64
RandomJob

Random job removal method.

Show fields

Fields of RandomJob

probability: f64min: usizemax: usizethreshold: f64
RandomRoute

Random route removal method.

Show fields

Fields of RandomRoute

probability: f64min: usizemax: usizethreshold: f64
CloseRoute

Close route removal method.

Show fields

Fields of CloseRoute

probability: f64
RandomRuin

Random ruin removal method.

Show fields

Fields of RandomRuin

probability: f64
WorstJob

Worst job removal method.

Show fields

Fields of WorstJob

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

Clustered jobs removal method.

Show fields

Fields of Cluster

probability: f64min: usizemax: usizethreshold: f64min_items: 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>,