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,
    },
    SkipRandom {
        weight: usize,
    },
    Farthest {
        weight: usize,
    },
    Perturbation {
        weight: usize,
        probability: f64,
        min: f64,
        max: f64,
    },
    Regret {
        weight: usize,
        start: usize,
        end: usize,
    },
}
Expand description

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
SkipRandom

Insertion with skip random method.

Fields of SkipRandom

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.