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

pub struct RecreateWithBlinks<T: Load + Add<Output = T> + Sub<Output = T> + 'static> { /* fields omitted */ }

A recreate method as described in “Slack Induction by String Removals for Vehicle Routing Problems” (aka SISR) paper by Jan Christiaens, Greet Vanden Berghe.

Implementations

impl<T: Load + Add<Output = T> + Sub<Output = T> + 'static> RecreateWithBlinks<T>[src]

pub fn new(
    selectors: Vec<(Box<dyn JobSelector + Send + Sync>, usize)>,
    random: Arc<dyn Random + Send + Sync>
) -> Self
[src]

Creates a new instance of RecreateWithBlinks.

pub fn new_with_defaults(random: Arc<dyn Random + Send + Sync>) -> Self[src]

Creates a new instance of RecreateWithBlinks with default prameters.

Trait Implementations

impl<T: Load + Add<Output = T> + Sub<Output = T> + 'static> Recreate for RecreateWithBlinks<T>[src]

Auto Trait Implementations

impl<T> !RefUnwindSafe for RecreateWithBlinks<T>

impl<T> Send for RecreateWithBlinks<T>

impl<T> Sync for RecreateWithBlinks<T>

impl<T> Unpin for RecreateWithBlinks<T> where
    T: Unpin

impl<T> !UnwindSafe for RecreateWithBlinks<T>

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