Class MultiPointArithmeticCombinationHandler<T extends Comparable<T>>
java.lang.Object
net.bmahe.genetics4j.core.combination.multipointarithmetic.MultiPointArithmeticCombinationHandler<T>
- All Implemented Interfaces:
ChromosomeCombinatorHandler<T>
public class MultiPointArithmeticCombinationHandler<T extends Comparable<T>>
extends Object
implements ChromosomeCombinatorHandler<T>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
canHandle
(ChromosomeCombinatorResolver<T> chromosomeCombinatorResolver, CombinationPolicy combinationPolicy, ChromosomeSpec chromosome) resolve
(ChromosomeCombinatorResolver<T> chromosomeCombinatorResolver, CombinationPolicy combinationPolicy, ChromosomeSpec chromosome)
-
Field Details
-
randomGenerator
-
-
Constructor Details
-
MultiPointArithmeticCombinationHandler
-
-
Method Details
-
canHandle
public boolean canHandle(ChromosomeCombinatorResolver<T> chromosomeCombinatorResolver, CombinationPolicy combinationPolicy, ChromosomeSpec chromosome) - Specified by:
canHandle
in interfaceChromosomeCombinatorHandler<T extends Comparable<T>>
-
resolve
public ChromosomeCombinator<T> resolve(ChromosomeCombinatorResolver<T> chromosomeCombinatorResolver, CombinationPolicy combinationPolicy, ChromosomeSpec chromosome) - Specified by:
resolve
in interfaceChromosomeCombinatorHandler<T extends Comparable<T>>
-