Class PermutationGenotype<E>

    • Method Detail

      • newInstance

        public <G extends Genotype> G newInstance()
        Description copied from interface: Genotype
        Constructs a new (empty) instance of this Genotype.
        Specified by:
        newInstance in interface Genotype
        Type Parameters:
        G - the type of genotype for an implicit cast
        Returns:
        new instance of the genotype
      • init

        public void init​(Random random)
        Randomizes this genotype by a random permutation.
        Parameters:
        random - the random number generator