radiate_core/
diversity.rs

1use crate::{Chromosome, Genotype};
2
3pub trait Diversity<C: Chromosome>: Send + Sync {
4    fn measure(&self, geno_one: &Genotype<C>, geno_two: &Genotype<C>) -> f32;
5}