[][src]Struct mop_solvers::genetic_algorithm::Spea2

pub struct Spea2<C, CO, QC, M, MS, O, OR, S, SD> { /* fields omitted */ }

Types

  • C: Constraint
  • CO: CrossOver
  • M: Mutation
  • MS: Mating Selection
  • O: Objective
  • OR: Objective Result
  • SD: Solution Domain

Methods

impl<C, CO, QC, M, MS, O, OR, S, SD> Spea2<C, CO, QC, M, MS, O, OR, S, SD> where
    QC: for<'a> QualityComparator<[O], MphOrRef<'a, OR, S>>,
    O: Obj<OR, S>,
    OR: Copy + Div<OR, Output = OR> + Mul<OR, Output = OR> + NumCast + One + PartialOrd + Pow<OR, Output = OR> + Sub<OR, Output = OR> + Zero,
    SD: SolutionDomain<S>,
    S: Clone
[src]

pub fn new(
    archive_size: Pct,
    gap: GeneticAlgorithmParams<CO, M, MS>,
    problem: &Mph<C, O, OR, S, SD>,
    quality_comparator: QC
) -> Self
[src]

Trait Implementations

impl<C: Debug, CO: Debug, QC: Debug, M: Debug, MS: Debug, O: Debug, OR: Debug, S: Debug, SD: Debug> Debug for Spea2<C, CO, QC, M, MS, O, OR, S, SD>[src]

impl<C, CO, QC, M, MS, O, OR, S, SD> Solver<Mph<C, O, OR, S, SD>> for Spea2<C, CO, QC, M, MS, O, OR, S, SD> where
    C: Cstr<S> + TraitCfg,
    CO: Crossover<MphOrs<OR, S>> + TraitCfg,
    QC: for<'a> QualityComparator<[O], MphOrRef<'a, OR, S>> + TraitCfg,
    M: Mutation<SD, MphOrs<OR, S>> + TraitCfg,
    MS: MatingSelection<[O], MphOrs<OR, S>> + TraitCfg,
    O: Obj<OR, S> + TraitCfg,
    OR: Copy + Debug + Div<OR, Output = OR> + Mul<OR, Output = OR> + NumCast + One + PartialOrd + Pow<OR, Output = OR> + SampleUniform + Sub<OR, Output = OR> + TraitCfg + Zero,
    S: Clone + TraitCfg,
    SD: SolutionDomain<S> + TraitCfg
[src]

Auto Trait Implementations

impl<C, CO, QC, M, MS, O, OR, S, SD> RefUnwindSafe for Spea2<C, CO, QC, M, MS, O, OR, S, SD> where
    C: RefUnwindSafe,
    CO: RefUnwindSafe,
    M: RefUnwindSafe,
    MS: RefUnwindSafe,
    O: RefUnwindSafe,
    OR: RefUnwindSafe,
    QC: RefUnwindSafe,
    S: RefUnwindSafe,
    SD: RefUnwindSafe

impl<C, CO, QC, M, MS, O, OR, S, SD> Send for Spea2<C, CO, QC, M, MS, O, OR, S, SD> where
    C: Send,
    CO: Send,
    M: Send,
    MS: Send,
    O: Send,
    OR: Send,
    QC: Send,
    S: Send,
    SD: Send

impl<C, CO, QC, M, MS, O, OR, S, SD> Sync for Spea2<C, CO, QC, M, MS, O, OR, S, SD> where
    C: Sync,
    CO: Sync,
    M: Sync,
    MS: Sync,
    O: Sync,
    OR: Sync,
    QC: Sync,
    S: Sync,
    SD: Sync

impl<C, CO, QC, M, MS, O, OR, S, SD> Unpin for Spea2<C, CO, QC, M, MS, O, OR, S, SD> where
    C: Unpin,
    CO: Unpin,
    M: Unpin,
    MS: Unpin,
    O: Unpin,
    OR: Unpin,
    QC: Unpin,
    S: Unpin,
    SD: Unpin

impl<C, CO, QC, M, MS, O, OR, S, SD> UnwindSafe for Spea2<C, CO, QC, M, MS, O, OR, S, SD> where
    C: UnwindSafe,
    CO: UnwindSafe,
    M: UnwindSafe,
    MS: UnwindSafe,
    O: UnwindSafe,
    OR: UnwindSafe,
    QC: UnwindSafe,
    S: UnwindSafe,
    SD: 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> 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>,