pub trait GeneticConstraint<G: Genome>: Send + Sync { // Required method fn is_valid(&self, genome: &G) -> bool; }