Struct yamakan::optimizers::nsga2::Nsga2Optimizer[][src]

pub struct Nsga2Optimizer<P, S> where
    P: Domain
{ /* fields omitted */ }

NSGA-II based optimizer.

Implementations

impl<P, S> Nsga2Optimizer<P, S> where
    P: Domain,
    P::Point: Clone,
    S: Strategy<P>, 
[src]

pub fn new(param_domain: P, population_size: usize, strategy: S) -> Result<Self>[src]

Makes a new Nsga2Optimizer instance.

Trait Implementations

impl<P: Debug, S: Debug> Debug for Nsga2Optimizer<P, S> where
    P: Domain,
    P::Point: Debug,
    P::Point: Debug,
    P::Point: Debug
[src]

impl<P, S> Optimizer for Nsga2Optimizer<P, S> where
    P: Domain,
    P::Point: Clone,
    S: Strategy<P>, 
[src]

type Param = P::Point

The parameter to be optimized.

type Value = Vec<f64>

The value obtained as a result of a parameter evaluation.

Auto Trait Implementations

impl<P, S> RefUnwindSafe for Nsga2Optimizer<P, S> where
    P: RefUnwindSafe,
    S: RefUnwindSafe,
    <P as Domain>::Point: RefUnwindSafe

impl<P, S> Send for Nsga2Optimizer<P, S> where
    P: Send,
    S: Send,
    <P as Domain>::Point: Send

impl<P, S> Sync for Nsga2Optimizer<P, S> where
    P: Sync,
    S: Sync,
    <P as Domain>::Point: Sync

impl<P, S> Unpin for Nsga2Optimizer<P, S> where
    P: Unpin,
    S: Unpin,
    <P as Domain>::Point: Unpin

impl<P, S> UnwindSafe for Nsga2Optimizer<P, S> where
    P: UnwindSafe,
    S: UnwindSafe,
    <P as Domain>::Point: 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, 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>,