1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20


mod roulette_wheel;
mod stochastic_universal_sampling;

use mop_blocks::mp::mphos::Morhos;

pub use self::roulette_wheel::RouletteWheel;
pub use self::stochastic_universal_sampling::StochasticUniversalSampling;


pub trait MatingSelection<N, V> {
    
    fn mating_selection(
        &mut self,
        source: &mut Morhos<N, V>,
        pool: &mut Morhos<N, V>,
        filling_num: usize,
    );
}