Class ProgramRandomCombineHandler<T extends Comparable<T>>
java.lang.Object
net.bmahe.genetics4j.gp.combination.ProgramRandomCombineHandler<T>
- All Implemented Interfaces:
ChromosomeCombinatorHandler<T>
public class ProgramRandomCombineHandler<T extends Comparable<T>>
extends Object
implements ChromosomeCombinatorHandler<T>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final org.apache.logging.log4j.Logger
(package private) final RandomGenerator
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canHandle
(ChromosomeCombinatorResolver<T> chromosomeCombinatorResolver, CombinationPolicy combinationPolicy, ChromosomeSpec chromosome) resolve
(ChromosomeCombinatorResolver<T> chromosomeCombinatorResolver, CombinationPolicy combinationPolicy, ChromosomeSpec chromosomeSpec)
-
Field Details
-
logger
public static final org.apache.logging.log4j.Logger logger -
randomGenerator
-
-
Constructor Details
-
ProgramRandomCombineHandler
-
-
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 chromosomeSpec) - Specified by:
resolve
in interfaceChromosomeCombinatorHandler<T extends Comparable<T>>
-