evolutionary 0.1.1

A fully extensible Rust framework for using paralyzed genetic algorithms to solve problems.
Documentation
1
2
3
4
5
6
7
8
9
10
use crate::{Individual, Selection};

#[derive(Clone)]
pub struct DoNothingSelection;

impl<T: Individual> Selection<T> for DoNothingSelection {
    fn get_mating_pool(&self, initial_population: &Vec<T>) -> Vec<T> {
        initial_population.clone()
    }
}