public static void Bool <G>(GeneticAlgorithm <G> a) where G : ArrayChromosome <bool> { ByElement <G, bool>(a, (rnd, c) => !c); }
public static void Bool <G>(GeneticAlgorithm <G> a) where G : ArrayChromosome <bool> { ByElement(a, rnd => rnd.Next(2) == 0); }