public final class SimpleRulerRecombination extends java.lang.Object implements Recombination<Ruler>
Constructor and Description |
---|
SimpleRulerRecombination() |
Modifier and Type | Method and Description |
---|---|
Ruler |
recombine(Ruler firstSolution,
Ruler secondSolution)
THIS CLASS DOES NOT PERFORM RECOMBINATION AS IT IS PERCEIVED BY A COMPUTATIONAL INTELLIGENCE! A recombination should take part of a first solution, part of a second solution and join them together, creating a new result solution.
|
public Ruler recombine(Ruler firstSolution, Ruler secondSolution)
THIS CLASS DOES NOT PERFORM RECOMBINATION AS IT IS PERCEIVED BY A COMPUTATIONAL INTELLIGENCE! A recombination should take part of a first solution, part of a second solution and join them together, creating a new result solution. This temporary implementation does not guarantee that result solution will always originate from more than one input solution. Moreover, input solutions’ parts are shuffled during the recombination, which is against recombination rules and makes this process look more like a mutation than a recombination.
recombine
in interface Recombination<Ruler>