Package org.opt4j.operators.crossover
Class CrossoverPermutationDefault
- java.lang.Object
-
- org.opt4j.operators.crossover.CrossoverPermutationOnePoint
-
- org.opt4j.operators.crossover.CrossoverPermutationDefault
-
- All Implemented Interfaces:
org.opt4j.core.optimizer.Operator<org.opt4j.core.genotype.PermutationGenotype<?>>
,Crossover<org.opt4j.core.genotype.PermutationGenotype<?>>
,CrossoverPermutation
public class CrossoverPermutationDefault extends CrossoverPermutationOnePoint
Crossover for thePermutationGenotype
. The default operator is theCrossoverPermutationOnePoint
with therotation=false
.
-
-
Field Summary
-
Fields inherited from class org.opt4j.operators.crossover.CrossoverPermutationOnePoint
random, rotation
-
-
Constructor Summary
Constructors Constructor Description CrossoverPermutationDefault(org.opt4j.core.common.random.Rand random)
Constructs a defaultCrossoverPermutation
.
-
Method Summary
-
Methods inherited from class org.opt4j.operators.crossover.CrossoverPermutationOnePoint
crossover, crossoverFill, crossoverToCutpoint
-
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.crossover.Crossover
getOperatorType
-
-
-
-
Constructor Detail
-
CrossoverPermutationDefault
@Inject public CrossoverPermutationDefault(org.opt4j.core.common.random.Rand random)
Constructs a defaultCrossoverPermutation
.- Parameters:
random
- the random number generator
-
-