Class IntEdgeRecombinationCrossover<T extends Comparable<T>>
java.lang.Object
net.bmahe.genetics4j.core.combination.erx.IntEdgeRecombinationCrossover<T>
- All Implemented Interfaces:
ChromosomeCombinator<T>
public class IntEdgeRecombinationCrossover<T extends Comparable<T>>
extends Object
implements ChromosomeCombinator<T>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
cityWithSmallestEdgeList
(Map<Integer, Set<Integer>> edgeMap) combine
(AbstractEAConfiguration<T> eaConfiguration, Chromosome chromosome1, T firstParentFitness, Chromosome chromosome2, T secondParentFitness)
-
Field Details
-
randomGenerator
-
-
Constructor Details
-
IntEdgeRecombinationCrossover
-
-
Method Details
-
addEdges
-
cityWithSmallestEdgeList
-
cityWithSmallestEdgeList
-
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>>
-