Package org.opt4j.operator.copy
Class CopyGenericImplementation
- java.lang.Object
-
- org.opt4j.operator.AbstractGenericOperator<Copy<Genotype>,Copy<?>>
-
- org.opt4j.operator.copy.CopyGenericImplementation
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.opt4j.operator.AbstractGenericOperator
AbstractGenericOperator.ClassComparator, AbstractGenericOperator.OperatorClassPredicate, AbstractGenericOperator.OperatorHolder<P>, AbstractGenericOperator.OperatorPredicate, AbstractGenericOperator.OperatorVoidPredicate
-
-
Field Summary
-
Fields inherited from class org.opt4j.operator.AbstractGenericOperator
classOperators, cldef, genericOperators
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
CopyGenericImplementation()
Constructs theCopyGenericImplementation
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Genotype
copy(Genotype genotype)
Copies aGenotype
.protected CompositeGenotype<?,?>
copyComposite(CompositeGenotype<?,?> genotype)
-
Methods inherited from class org.opt4j.operator.AbstractGenericOperator
addOperator, getOperator, getOperators, getTarget, inject
-
-
-
-
Constructor Detail
-
CopyGenericImplementation
@Inject protected CopyGenericImplementation()
Constructs theCopyGenericImplementation
.
-
-
Method Detail
-
copy
public Genotype copy(Genotype genotype)
Description copied from interface:Copy
Copies aGenotype
. This operation is a deep copy whereas unit elements are not cloned.
-
copyComposite
protected CompositeGenotype<?,?> copyComposite(CompositeGenotype<?,?> genotype)
-
-