Package org.opt4j.operator.crossover
Class CrossoverGenericImplementation
- java.lang.Object
-
- org.opt4j.operator.AbstractGenericOperator<Crossover<Genotype>,Crossover<?>>
-
- org.opt4j.operator.crossover.CrossoverGenericImplementation
-
-
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
CrossoverGenericImplementation()
Constructs theCrossoverGenericImplementation
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Pair<Genotype>
crossover(Genotype parent1, Genotype parent2)
Performs a crossover for twoGenotype
parents.protected Pair<Genotype>
crossoverComposite(CompositeGenotype<?,?> p1, CompositeGenotype<?,?> p2)
-
Methods inherited from class org.opt4j.operator.AbstractGenericOperator
addOperator, getOperator, getOperators, getTarget, inject
-
-
-
-
Constructor Detail
-
CrossoverGenericImplementation
@Inject protected CrossoverGenericImplementation()
Constructs theCrossoverGenericImplementation
.
-
-
Method Detail
-
crossover
public Pair<Genotype> crossover(Genotype parent1, Genotype parent2)
Description copied from interface:Crossover
-
crossoverComposite
protected Pair<Genotype> crossoverComposite(CompositeGenotype<?,?> p1, CompositeGenotype<?,?> p2)
-
-