[][src]Trait mop_solvers::genetic_algorithm::operators::mutation::Mutation

pub trait Mutation<M, T> {
    type Error;
    fn mutation(&self, misc: &M, source: &mut T) -> Result<(), Self::Error>;
}

Associated Types

type Error

Loading content...

Required methods

fn mutation(&self, misc: &M, source: &mut T) -> Result<(), Self::Error>

Loading content...

Implementations on Foreign Types

impl<M, T> Mutation<M, T> for ()[src]

type Error = Infallible

Loading content...

Implementors

impl<D, OR, ORS, S, SS> Mutation<D, GpOrs<ArrayVec<[(); 0]>, ORS, ArrayVec<[(); 0]>, SS>> for RandomDomainAssignments where
    D: Domain<S>,
    S: Solution,
    ORS: AsMut<[OR]> + Storage<Item = OR>,
    SS: AsMut<[S]> + Storage<Item = S>, 
[src]

type Error = Infallible

impl<M, OR, ORS, S, SS> Mutation<M, GpOrs<ArrayVec<[(); 0]>, ORS, ArrayVec<[(); 0]>, SS>> for Swap where
    ORS: AsMut<[OR]> + Storage<Item = OR>,
    SS: AsMut<[S]> + Storage<Item = S>,
    S: Solution
[src]

type Error = Infallible

Loading content...