[][src]Struct mop_solvers::genetic_algorithm::operators::mating_selection::Tournament

pub struct Tournament<QC> { /* fields omitted */ }

Implementations

impl<QC> Tournament<QC>[src]

pub fn new(n: usize, quality_comparator: QC) -> Self[src]

Trait Implementations

impl<QC: Clone> Clone for Tournament<QC>[src]

impl<QC: Debug> Debug for Tournament<QC>[src]

impl<QC: Default> Default for Tournament<QC>[src]

impl<QC, O, OR, ORS, S, SS> MatingSelection<[O], GpOrs<ArrayVec<[(); 0]>, ORS, ArrayVec<[(); 0]>, SS>> for Tournament<QC> where
    OR: Copy,
    ORS: AsRef<[OR]> + Clear + Extend<OR> + Storage<Item = OR> + Truncate<Input = usize>,
    QC: for<'a> QualityComparator<[O], MpOrRef<'a, OR, S>>,
    S: Clone,
    SS: AsRef<[S]> + Clear + Push<Input = S> + Storage<Item = S> + Truncate<Input = usize>, 
[src]

type Error = Error

Auto Trait Implementations

impl<QC> RefUnwindSafe for Tournament<QC> where
    QC: RefUnwindSafe

impl<QC> Send for Tournament<QC> where
    QC: Send

impl<QC> Sync for Tournament<QC> where
    QC: Sync

impl<QC> Unpin for Tournament<QC> where
    QC: Unpin

impl<QC> UnwindSafe for Tournament<QC> where
    QC: UnwindSafe

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> TraitCfg for T[src]

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