Package org.opt4j.operator.copy
Interface Copy<G extends Genotype>
- Type Parameters:
G
- the type of genotype
- All Superinterfaces:
Operator<G>
- All Known Implementing Classes:
CopyGenericImplementation
,CopyList
Operator that creates copies of a
Genotype
.-
Method Summary
-
Method Details
-
copy
Copies aGenotype
. This operation is a deep copy whereas unit elements are not cloned.- Parameters:
genotype
- the genotype to copy- Returns:
- the copy of the genotype
-