1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14


#[derive(Clone, Debug)]

pub struct GeneticAlgorithmParams<CR, MA, MU, S> {
    
    pub crossover: CR,
    
    pub mating_selection: MA,
    
    pub mutation: MU,
    
    pub survivor_selection: S,
}