Class ProgramChromosomeCombinator<T extends Comparable<T>>
java.lang.Object
net.bmahe.genetics4j.gp.combination.ProgramChromosomeCombinator<T>
- All Implemented Interfaces:
ChromosomeCombinator<T>
final class ProgramChromosomeCombinator<T extends Comparable<T>>
extends Object
implements ChromosomeCombinator<T>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncombine
(AbstractEAConfiguration<T> eaConfiguration, Chromosome chromosome1, T firstParentFitness, Chromosome chromosome2, T secondParentFitness) copyAndReplace
(TreeNode<Operation<?>> root, TreeNode<Operation<?>> replaced, TreeNode<Operation<?>> replacement) mix
(TreeNode<Operation<?>> rootA, TreeNode<Operation<?>> rootB, Set<Class> acceptableClasses, Map<Class, List<TreeNode<Operation<?>>>> returnedTypeToNodeA, Map<Class, List<TreeNode<Operation<?>>>> returnedTypeToNodeB) returnedTypeToNode
(TreeNode<Operation<?>> root)
-
Field Details
-
randomGenerator
-
-
Constructor Details
-
ProgramChromosomeCombinator
-
-
Method Details
-
returnedTypeToNode
-
copyAndReplace
-
mix
-
combine
public List<Chromosome> combine(AbstractEAConfiguration<T> eaConfiguration, Chromosome chromosome1, T firstParentFitness, Chromosome chromosome2, T secondParentFitness) - Specified by:
combine
in interfaceChromosomeCombinator<T extends Comparable<T>>
-