Interface Copy<G extends Genotype>

Type Parameters:
G - the type of genotype
All Superinterfaces:
Operator<G>
All Known Implementing Classes:
CopyGenericImplementation, CopyList

public interface Copy<G extends Genotype> extends Operator<G>
Operator that creates copies of a Genotype.
  • Method Summary

    Modifier and Type
    Method
    Description
    copy(G genotype)
    Copies a Genotype.
  • Method Details

    • copy

      G copy(G genotype)
      Copies a Genotype. This operation is a deep copy whereas unit elements are not cloned.
      Parameters:
      genotype - the genotype to copy
      Returns:
      the copy of the genotype