SelectionOperator

Trait SelectionOperator 

Source
pub trait SelectionOperator<T, N, D>
where T: FloatNum, N: Dim, D: Dim, OVector<T, N>: Send + Sync, OMatrix<T, Dyn, D>: Send + Sync, OMatrix<T, N, D>: Send + Sync, DefaultAllocator: Allocator<N> + Allocator<N, D> + Allocator<Dyn, D>,
{ // Required method fn select( &mut self, population: &OMatrix<T, N, D>, fitness: &OVector<T, N>, constraints: &OVector<bool, N>, ) -> OMatrix<T, Dyn, D>; }

Required Methods§

Source

fn select( &mut self, population: &OMatrix<T, N, D>, fitness: &OVector<T, N>, constraints: &OVector<bool, N>, ) -> OMatrix<T, Dyn, D>

Implementors§

Source§

impl<T, N, D> SelectionOperator<T, N, D> for Residual
where T: FloatNum + Send + Sync, N: Dim + Send + Sync, D: Dim + Send + Sync, OVector<T, N>: Send + Sync, OMatrix<T, Dyn, D>: Send + Sync, OMatrix<T, N, D>: Send + Sync, DefaultAllocator: Allocator<Dyn, D> + Allocator<N, D> + Allocator<N>,

Source§

impl<T, N, D> SelectionOperator<T, N, D> for RouletteWheel
where T: FloatNum + Send + Sync, N: Dim + Send + Sync, D: Dim + Send + Sync, OVector<T, N>: Send + Sync, OMatrix<T, Dyn, D>: Send + Sync, OMatrix<T, N, D>: Send + Sync, DefaultAllocator: Allocator<N> + Allocator<N, D> + Allocator<Dyn, D>,

Source§

impl<T, N, D> SelectionOperator<T, N, D> for Tournament
where T: FloatNum + Send + Sync, N: Dim + Send + Sync, D: Dim + Send + Sync, OVector<T, N>: Send + Sync, OMatrix<T, Dyn, D>: Send + Sync, OMatrix<T, N, D>: Send + Sync, DefaultAllocator: Allocator<Dyn, D> + Allocator<N, D> + Allocator<N>,