Class BinaryMutation

    • Constructor Summary

      Constructors 
      Constructor Description
      BinaryMutation()  
    • Constructor Detail

      • BinaryMutation

        public BinaryMutation()
    • Method Detail

      • mutate

        public Chromosome mutate​(Chromosome original)
        Mutate the given chromosome. Randomly changes one gene.
        Specified by:
        mutate in interface MutationPolicy
        Parameters:
        original - the original chromosome.
        Returns:
        the mutated chromomsome.