1
|
|
package net.bmahe.genetics4j.core.combination.ordercrossover; |
2
|
|
|
3
|
|
import java.util.HashSet; |
4
|
|
import java.util.List; |
5
|
|
import java.util.Objects; |
6
|
|
import java.util.Set; |
7
|
|
import java.util.random.RandomGenerator; |
8
|
|
|
9
|
|
import org.apache.commons.lang3.Validate; |
10
|
|
|
11
|
|
import net.bmahe.genetics4j.core.chromosomes.Chromosome; |
12
|
|
import net.bmahe.genetics4j.core.chromosomes.IntChromosome; |
13
|
|
import net.bmahe.genetics4j.core.combination.ChromosomeCombinator; |
14
|
|
import net.bmahe.genetics4j.core.spec.AbstractEAConfiguration; |
15
|
|
|
16
|
|
public class IntChromosomeOrderCrossover<T extends Comparable<T>> implements ChromosomeCombinator<T> { |
17
|
|
|
18
|
|
private final RandomGenerator randomGenerator; |
19
|
|
|
20
|
|
public IntChromosomeOrderCrossover(final RandomGenerator _randomGenerator) { |
21
|
|
Objects.requireNonNull(_randomGenerator); |
22
|
|
|
23
|
1
1. <init> : Removed assignment to member variable randomGenerator → KILLED
|
this.randomGenerator = _randomGenerator; |
24
|
|
} |
25
|
|
|
26
|
|
@Override |
27
|
|
public List<Chromosome> combine(final AbstractEAConfiguration<T> eaConfiguration, final Chromosome chromosome1, |
28
|
|
final T firstParentFitness, final Chromosome chromosome2, final T secondParentFitness) { |
29
|
|
Objects.requireNonNull(chromosome1); |
30
|
|
Objects.requireNonNull(chromosome2); |
31
|
|
Validate.isInstanceOf(IntChromosome.class, chromosome1); |
32
|
|
Validate.isInstanceOf(IntChromosome.class, chromosome2); |
33
|
|
Validate.isTrue(chromosome1.getNumAlleles() == chromosome2.getNumAlleles()); |
34
|
|
|
35
|
|
final IntChromosome intChromosome1 = (IntChromosome) chromosome1; |
36
|
|
final IntChromosome intChromosome2 = (IntChromosome) chromosome2; |
37
|
|
|
38
|
1
1. combine : removed call to net/bmahe/genetics4j/core/chromosomes/Chromosome::getNumAlleles → KILLED
|
final int numAlleles = chromosome1.getNumAlleles(); |
39
|
|
final int[] newValues = new int[numAlleles]; |
40
|
|
|
41
|
3
1. combine : removed call to net/bmahe/genetics4j/core/chromosomes/Chromosome::getNumAlleles → SURVIVED
2. combine : replaced call to java/util/random/RandomGenerator::nextInt with argument → KILLED
3. combine : removed call to java/util/random/RandomGenerator::nextInt → KILLED
|
final int random1 = randomGenerator.nextInt(chromosome1.getNumAlleles()); |
42
|
3
1. combine : removed call to net/bmahe/genetics4j/core/chromosomes/Chromosome::getNumAlleles → SURVIVED
2. combine : replaced call to java/util/random/RandomGenerator::nextInt with argument → KILLED
3. combine : removed call to java/util/random/RandomGenerator::nextInt → KILLED
|
final int random2 = randomGenerator.nextInt(chromosome1.getNumAlleles()); |
43
|
|
|
44
|
2
1. combine : removed call to java/lang/Math::min → KILLED
2. combine : replaced call to java/lang/Math::min with argument → KILLED
|
final int rangeStart = Math.min(random1, random2); |
45
|
2
1. combine : replaced call to java/lang/Math::max with argument → SURVIVED
2. combine : removed call to java/lang/Math::max → KILLED
|
final int rangeEnd = Math.max(random1, random2); |
46
|
|
|
47
|
1
1. combine : removed call to java/util/HashSet::<init> → KILLED
|
final Set<Integer> valuesInRange = new HashSet<Integer>(); |
48
|
4
1. combine : removed conditional - replaced comparison check with true → KILLED
2. combine : negated conditional → KILLED
3. combine : removed conditional - replaced comparison check with false → KILLED
4. combine : changed conditional boundary → KILLED
|
for (int i = rangeStart; i < rangeEnd; i++) { |
49
|
4
1. combine : replaced call to net/bmahe/genetics4j/core/chromosomes/IntChromosome::getAllele with argument → SURVIVED
2. combine : removed call to java/lang/Integer::valueOf → KILLED
3. combine : removed call to java/util/Set::add → KILLED
4. combine : removed call to net/bmahe/genetics4j/core/chromosomes/IntChromosome::getAllele → KILLED
|
valuesInRange.add(intChromosome1.getAllele(i)); |
50
|
|
} |
51
|
|
|
52
|
1
1. combine : Substituted 0 with 1 → KILLED
|
int newValueIndex = 0; |
53
|
1
1. combine : Substituted 0 with 1 → KILLED
|
int chromosome2Idx = 0; |
54
|
|
|
55
|
4
1. combine : negated conditional → KILLED
2. combine : removed conditional - replaced comparison check with true → KILLED
3. combine : changed conditional boundary → KILLED
4. combine : removed conditional - replaced comparison check with false → KILLED
|
while (newValueIndex < numAlleles) { |
56
|
8
1. combine : negated conditional → TIMED_OUT
2. combine : changed conditional boundary → TIMED_OUT
3. combine : removed conditional - replaced comparison check with false → TIMED_OUT
4. combine : removed conditional - replaced comparison check with true → KILLED
5. combine : negated conditional → KILLED
6. combine : removed conditional - replaced comparison check with false → KILLED
7. combine : removed conditional - replaced comparison check with true → KILLED
8. combine : changed conditional boundary → KILLED
|
if (newValueIndex < rangeStart || newValueIndex >= rangeEnd) { |
57
|
2
1. combine : replaced call to net/bmahe/genetics4j/core/chromosomes/IntChromosome::getAllele with argument → KILLED
2. combine : removed call to net/bmahe/genetics4j/core/chromosomes/IntChromosome::getAllele → KILLED
|
final int chromosome2Value = intChromosome2.getAllele(chromosome2Idx); |
58
|
5
1. combine : removed call to java/lang/Integer::valueOf → KILLED
2. combine : removed call to java/util/Set::contains → KILLED
3. combine : removed conditional - replaced equality check with false → KILLED
4. combine : removed conditional - replaced equality check with true → KILLED
5. combine : negated conditional → KILLED
|
if (valuesInRange.contains(chromosome2Value) == false) { |
59
|
|
newValues[newValueIndex] = chromosome2Value; |
60
|
2
1. combine : Removed increment 1 → KILLED
2. combine : Changed increment from 1 to -1 → KILLED
|
newValueIndex++; |
61
|
|
} |
62
|
2
1. combine : Removed increment 1 → KILLED
2. combine : Changed increment from 1 to -1 → KILLED
|
chromosome2Idx++; |
63
|
4
1. combine : removed conditional - replaced comparison check with true → SURVIVED
2. combine : changed conditional boundary → SURVIVED
3. combine : removed conditional - replaced comparison check with false → TIMED_OUT
4. combine : negated conditional → TIMED_OUT
|
} else if (newValueIndex < rangeEnd) { |
64
|
2
1. combine : replaced call to net/bmahe/genetics4j/core/chromosomes/IntChromosome::getAllele with argument → SURVIVED
2. combine : removed call to net/bmahe/genetics4j/core/chromosomes/IntChromosome::getAllele → KILLED
|
newValues[newValueIndex] = intChromosome1.getAllele(newValueIndex); |
65
|
|
newValueIndex++; |
66
|
|
} |
67
|
|
} |
68
|
|
|
69
|
1
1. combine : replaced return value with Collections.emptyList for net/bmahe/genetics4j/core/combination/ordercrossover/IntChromosomeOrderCrossover::combine → KILLED
|
return List |
70
|
4
1. combine : removed call to net/bmahe/genetics4j/core/chromosomes/IntChromosome::getMinValue → SURVIVED
2. combine : removed call to java/util/List::of → KILLED
3. combine : removed call to net/bmahe/genetics4j/core/chromosomes/IntChromosome::<init> → KILLED
4. combine : removed call to net/bmahe/genetics4j/core/chromosomes/IntChromosome::getMaxValue → KILLED
|
.of(new IntChromosome(numAlleles, intChromosome1.getMinValue(), intChromosome1.getMaxValue(), newValues)); |
71
|
|
} |
72
|
|
} |
| | Mutations |
23 |
|
1.1 Location : <init> Killed by : net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest]/[method:combineTest()] Removed assignment to member variable randomGenerator → KILLED
|
38 |
|
1.1 Location : combine Killed by : net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest]/[method:combineTest()] removed call to net/bmahe/genetics4j/core/chromosomes/Chromosome::getNumAlleles → KILLED
|
41 |
|
1.1 Location : combine Killed by : net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest]/[method:combineTest()] replaced call to java/util/random/RandomGenerator::nextInt with argument → KILLED
2.2 Location : combine Killed by : none removed call to net/bmahe/genetics4j/core/chromosomes/Chromosome::getNumAlleles → SURVIVED
Covering tests
Covered by tests:
- net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest]/[method:combineTest()]
3.3 Location : combine Killed by : net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest]/[method:combineTest()] removed call to java/util/random/RandomGenerator::nextInt → KILLED
|
42 |
|
1.1 Location : combine Killed by : net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest]/[method:combineTest()] replaced call to java/util/random/RandomGenerator::nextInt with argument → KILLED
2.2 Location : combine Killed by : none removed call to net/bmahe/genetics4j/core/chromosomes/Chromosome::getNumAlleles → SURVIVED
Covering tests
Covered by tests:
- net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest]/[method:combineTest()]
3.3 Location : combine Killed by : net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest]/[method:combineTest()] removed call to java/util/random/RandomGenerator::nextInt → KILLED
|
44 |
|
1.1 Location : combine Killed by : net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest]/[method:combineTest()] removed call to java/lang/Math::min → KILLED
2.2 Location : combine Killed by : net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest]/[method:combineTest()] replaced call to java/lang/Math::min with argument → KILLED
|
45 |
|
1.1 Location : combine Killed by : none replaced call to java/lang/Math::max with argument → SURVIVED
Covering tests
Covered by tests:
- net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest]/[method:combineTest()]
2.2 Location : combine Killed by : net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest]/[method:combineTest()] removed call to java/lang/Math::max → KILLED
|
47 |
|
1.1 Location : combine Killed by : net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest]/[method:combineTest()] removed call to java/util/HashSet::<init> → KILLED
|
48 |
|
1.1 Location : combine Killed by : net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest]/[method:combineTest()] removed conditional - replaced comparison check with true → KILLED
2.2 Location : combine Killed by : net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest]/[method:combineTest()] negated conditional → KILLED
3.3 Location : combine Killed by : net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest]/[method:combineTest()] removed conditional - replaced comparison check with false → KILLED
4.4 Location : combine Killed by : net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest]/[method:combineTest()] changed conditional boundary → KILLED
|
49 |
|
1.1 Location : combine Killed by : net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest]/[method:combineTest()] removed call to java/lang/Integer::valueOf → KILLED
2.2 Location : combine Killed by : none replaced call to net/bmahe/genetics4j/core/chromosomes/IntChromosome::getAllele with argument → SURVIVED
Covering tests
Covered by tests:
- net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest]/[method:combineTest()]
3.3 Location : combine Killed by : net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest]/[method:combineTest()] removed call to java/util/Set::add → KILLED
4.4 Location : combine Killed by : net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest]/[method:combineTest()] removed call to net/bmahe/genetics4j/core/chromosomes/IntChromosome::getAllele → KILLED
|
52 |
|
1.1 Location : combine Killed by : net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest]/[method:combineTest()] Substituted 0 with 1 → KILLED
|
53 |
|
1.1 Location : combine Killed by : net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest]/[method:combineTest()] Substituted 0 with 1 → KILLED
|
55 |
|
1.1 Location : combine Killed by : net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest]/[method:combineTest()] negated conditional → KILLED
2.2 Location : combine Killed by : net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest]/[method:combineTest()] removed conditional - replaced comparison check with true → KILLED
3.3 Location : combine Killed by : net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest]/[method:combineTest()] changed conditional boundary → KILLED
4.4 Location : combine Killed by : net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest]/[method:combineTest()] removed conditional - replaced comparison check with false → KILLED
|
56 |
|
1.1 Location : combine Killed by : net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest]/[method:combineTest()] removed conditional - replaced comparison check with true → KILLED
2.2 Location : combine Killed by : net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest]/[method:combineTest()] negated conditional → KILLED
3.3 Location : combine Killed by : net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest]/[method:combineTest()] removed conditional - replaced comparison check with false → KILLED
4.4 Location : combine Killed by : none negated conditional → TIMED_OUT
5.5 Location : combine Killed by : net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest]/[method:combineTest()] removed conditional - replaced comparison check with true → KILLED
6.6 Location : combine Killed by : none changed conditional boundary → TIMED_OUT
7.7 Location : combine Killed by : none removed conditional - replaced comparison check with false → TIMED_OUT
8.8 Location : combine Killed by : net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest]/[method:combineTest()] changed conditional boundary → KILLED
|
57 |
|
1.1 Location : combine Killed by : net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest]/[method:combineTest()] replaced call to net/bmahe/genetics4j/core/chromosomes/IntChromosome::getAllele with argument → KILLED
2.2 Location : combine Killed by : net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest]/[method:combineTest()] removed call to net/bmahe/genetics4j/core/chromosomes/IntChromosome::getAllele → KILLED
|
58 |
|
1.1 Location : combine Killed by : net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest]/[method:combineTest()] removed call to java/lang/Integer::valueOf → KILLED
2.2 Location : combine Killed by : net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest]/[method:combineTest()] removed call to java/util/Set::contains → KILLED
3.3 Location : combine Killed by : net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest]/[method:combineTest()] removed conditional - replaced equality check with false → KILLED
4.4 Location : combine Killed by : net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest]/[method:combineTest()] removed conditional - replaced equality check with true → KILLED
5.5 Location : combine Killed by : net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest]/[method:combineTest()] negated conditional → KILLED
|
60 |
|
1.1 Location : combine Killed by : net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest]/[method:combineTest()] Removed increment 1 → KILLED
2.2 Location : combine Killed by : net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest]/[method:combineTest()] Changed increment from 1 to -1 → KILLED
|
62 |
|
1.1 Location : combine Killed by : net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest]/[method:combineTest()] Removed increment 1 → KILLED
2.2 Location : combine Killed by : net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest]/[method:combineTest()] Changed increment from 1 to -1 → KILLED
|
63 |
|
1.1 Location : combine Killed by : none removed conditional - replaced comparison check with false → TIMED_OUT
2.2 Location : combine Killed by : none negated conditional → TIMED_OUT
3.3 Location : combine Killed by : none removed conditional - replaced comparison check with true → SURVIVED
Covering tests
Covered by tests:
- net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest]/[method:combineTest()]
4.4 Location : combine Killed by : none changed conditional boundary → SURVIVED
Covering tests
Covered by tests:
- net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest]/[method:combineTest()]
|
64 |
|
1.1 Location : combine Killed by : net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest]/[method:combineTest()] removed call to net/bmahe/genetics4j/core/chromosomes/IntChromosome::getAllele → KILLED
2.2 Location : combine Killed by : none replaced call to net/bmahe/genetics4j/core/chromosomes/IntChromosome::getAllele with argument → SURVIVED
Covering tests
Covered by tests:
- net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest]/[method:combineTest()]
|
69 |
|
1.1 Location : combine Killed by : net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest]/[method:combineTest()] replaced return value with Collections.emptyList for net/bmahe/genetics4j/core/combination/ordercrossover/IntChromosomeOrderCrossover::combine → KILLED
|
70 |
|
1.1 Location : combine Killed by : net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest]/[method:combineTest()] removed call to java/util/List::of → KILLED
2.2 Location : combine Killed by : net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest]/[method:combineTest()] removed call to net/bmahe/genetics4j/core/chromosomes/IntChromosome::<init> → KILLED
3.3 Location : combine Killed by : net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest]/[method:combineTest()] removed call to net/bmahe/genetics4j/core/chromosomes/IntChromosome::getMaxValue → KILLED
4.4 Location : combine Killed by : none removed call to net/bmahe/genetics4j/core/chromosomes/IntChromosome::getMinValue → SURVIVED
Covering tests
Covered by tests:
- net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.ordercrossover.IntChromosomeOrderCrossoverTest]/[method:combineTest()]
|