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

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

Cheapest insertion method.

Fields of Cheapest

weight: usize
SkipBest

SkipBest insertion method.

Fields of SkipBest

weight: usizestart: usizeend: usize

Insertion with blinks method.

Fields of Blinks

weight: usize
Gaps

Insertion with gaps method.

Fields of Gaps

weight: usizemin: usize
Nearest

Nearest neighbour method.

Fields of Nearest

weight: usize
Farthest

Farthest insertion method.

Fields of Farthest

weight: usize
Perturbation

Fields of Perturbation

weight: usizeprobability: f64min: f64max: f64
Regret

Fields of Regret

weight: usizestart: usizeend: usize

Trait Implementations

impl Clone for RecreateMethod[src]

impl Debug for RecreateMethod[src]

impl<'de> Deserialize<'de> for RecreateMethod[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>,