Struct vrp_core::solver::mutation::RuinLimits[][src]

pub struct RuinLimits {
    pub min_ruined_jobs: usize,
    pub max_ruined_activities: usize,
    pub ruined_activities_threshold: f64,
    pub max_affected_routes: usize,
}
Expand description

Specifies a limit for amount of jobs to be removed.

Fields

min_ruined_jobs: usize

Specifies minimum amount of ruined (removed) jobs.

max_ruined_activities: usize

Specifies maximum amount of ruined (removed) jobs.

ruined_activities_threshold: f64

Specifies threshold for amount of ruined (removed) jobs.

max_affected_routes: usize

Specifies maximum amount of affected routes.

Implementations

Creates a new instance of RuinLimits.

Gets chunk size based on limits.

Trait Implementations

Returns the “default value” for a type. 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 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.