Package org.opt4j.operators.copy
Class CopyList
- java.lang.Object
-
- org.opt4j.operators.copy.CopyList
-
- All Implemented Interfaces:
org.opt4j.core.optimizer.Operator<org.opt4j.core.genotype.ListGenotype<?>>
,Copy<org.opt4j.core.genotype.ListGenotype<?>>
public class CopyList extends java.lang.Object implements Copy<org.opt4j.core.genotype.ListGenotype<?>>
Copy operator for plain lists likeBooleanGenotype
,DoubleGenotype
, andPermutationGenotype
.
-
-
Constructor Summary
Constructors Constructor Description CopyList()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.opt4j.core.genotype.ListGenotype<?>
copy(org.opt4j.core.genotype.ListGenotype<?> genotype)
Copies aGenotype
.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opt4j.operators.copy.Copy
getOperatorType
-
-
-
-
Method Detail
-
copy
public org.opt4j.core.genotype.ListGenotype<?> copy(org.opt4j.core.genotype.ListGenotype<?> genotype)
Description copied from interface:Copy
Copies aGenotype
. This operation is a deep copy whereas unit elements are not cloned.
-
-