FloatChromosomeMultiPointArithmetic.java

1
package net.bmahe.genetics4j.core.combination.multipointarithmetic;
2
3
import java.util.List;
4
import java.util.random.RandomGenerator;
5
6
import org.apache.commons.lang3.Validate;
7
8
import net.bmahe.genetics4j.core.chromosomes.Chromosome;
9
import net.bmahe.genetics4j.core.chromosomes.FloatChromosome;
10
import net.bmahe.genetics4j.core.combination.ChromosomeCombinator;
11
import net.bmahe.genetics4j.core.spec.AbstractEAConfiguration;
12
import net.bmahe.genetics4j.core.spec.combination.MultiPointArithmetic;
13
14
public class FloatChromosomeMultiPointArithmetic<T extends Comparable<T>> implements ChromosomeCombinator<T> {
15
16
	private final RandomGenerator randomGenerator;
17
18
	private final MultiPointArithmetic multiPointArithmeticPolicy;
19
20
	public FloatChromosomeMultiPointArithmetic(final RandomGenerator _randomGenerator,
21
			final MultiPointArithmetic _multiPointArithmeticPolicy) {
22
		Validate.notNull(_randomGenerator);
23
		Validate.notNull(_multiPointArithmeticPolicy);
24
25 1 1. <init> : Removed assignment to member variable randomGenerator → KILLED
		this.randomGenerator = _randomGenerator;
26 1 1. <init> : Removed assignment to member variable multiPointArithmeticPolicy → KILLED
		this.multiPointArithmeticPolicy = _multiPointArithmeticPolicy;
27
	}
28
29
	@Override
30
	public List<Chromosome> combine(final AbstractEAConfiguration<T> eaConfiguration, final Chromosome chromosome1,
31
			final T firstParentFitness, final Chromosome chromosome2, final T secondParentFitness) {
32
		Validate.notNull(chromosome1);
33
		Validate.notNull(chromosome2);
34
		Validate.isInstanceOf(FloatChromosome.class, chromosome1);
35
		Validate.isInstanceOf(FloatChromosome.class, chromosome2);
36
		Validate.isTrue(chromosome1.getNumAlleles() == chromosome2.getNumAlleles());
37
38
		Validate.isTrue(multiPointArithmeticPolicy.numCrossovers() < chromosome1.getNumAlleles());
39
		Validate.isTrue(multiPointArithmeticPolicy.numCrossovers() < chromosome2.getNumAlleles());
40
41 1 1. combine : removed call to net/bmahe/genetics4j/core/spec/combination/MultiPointArithmetic::numCrossovers → KILLED
		final int numCrossovers = multiPointArithmeticPolicy.numCrossovers();
42 1 1. combine : removed call to net/bmahe/genetics4j/core/spec/combination/MultiPointArithmetic::alpha → KILLED
		final float alpha = (float) multiPointArithmeticPolicy.alpha();
43
44 3 1. combine : Substituted 0 with 1 → SURVIVED
2. combine : removed call to net/bmahe/genetics4j/core/chromosomes/Chromosome::getNumAlleles → SURVIVED
3. combine : removed call to java/util/random/RandomGenerator::ints → KILLED
		final int[] alleleSplits = randomGenerator.ints(0, chromosome1.getNumAlleles())
45 2 1. combine : replaced call to java/util/stream/IntStream::distinct with receiver → SURVIVED
2. combine : removed call to java/util/stream/IntStream::distinct → KILLED
				.distinct()
46 2 1. combine : replaced call to java/util/stream/IntStream::limit with receiver → SURVIVED
2. combine : removed call to java/util/stream/IntStream::limit → KILLED
				.limit(numCrossovers)
47 2 1. combine : replaced call to java/util/stream/IntStream::sorted with receiver → SURVIVED
2. combine : removed call to java/util/stream/IntStream::sorted → KILLED
				.sorted()
48 1 1. combine : removed call to java/util/stream/IntStream::toArray → KILLED
				.toArray();
49
50
		final FloatChromosome floatChromosome1 = (FloatChromosome) chromosome1;
51
		final FloatChromosome floatChromosome2 = (FloatChromosome) chromosome2;
52
53 1 1. combine : removed call to net/bmahe/genetics4j/core/chromosomes/Chromosome::getNumAlleles → KILLED
		final int numAlleles = chromosome1.getNumAlleles();
54
		final float[] firstChildValues = new float[numAlleles];
55
		final float[] secondChildValues = new float[numAlleles];
56
57 1 1. combine : Substituted 1 with 0 → KILLED
		boolean useChromosome1 = true;
58 1 1. combine : Substituted 0 with 1 → KILLED
		int splitIndex = 0;
59 6 1. combine : changed conditional boundary → KILLED
2. combine : removed conditional - replaced comparison check with false → KILLED
3. combine : removed call to net/bmahe/genetics4j/core/chromosomes/FloatChromosome::getNumAlleles → KILLED
4. combine : removed conditional - replaced comparison check with true → KILLED
5. combine : negated conditional → KILLED
6. combine : Substituted 0 with 1 → KILLED
		for (int i = 0; i < floatChromosome1.getNumAlleles(); i++) {
60
61 7 1. combine : removed conditional - replaced comparison check with true → SURVIVED
2. combine : changed conditional boundary → SURVIVED
3. combine : negated conditional → KILLED
4. combine : negated conditional → KILLED
5. combine : removed conditional - replaced equality check with false → KILLED
6. combine : removed conditional - replaced equality check with true → KILLED
7. combine : removed conditional - replaced comparison check with false → KILLED
			if (splitIndex < alleleSplits.length && i == alleleSplits[splitIndex]) {
62 2 1. combine : Changed increment from 1 to -1 → KILLED
2. combine : Removed increment 1 → KILLED
				splitIndex++;
63 5 1. combine : Substituted 0 with 1 → KILLED
2. combine : negated conditional → KILLED
3. combine : Substituted 1 with 0 → KILLED
4. combine : removed conditional - replaced equality check with false → KILLED
5. combine : removed conditional - replaced equality check with true → KILLED
				useChromosome1 = !useChromosome1;
64
			}
65
66 1 1. combine : removed call to net/bmahe/genetics4j/core/chromosomes/FloatChromosome::getAllele → KILLED
			final float firstAllele = floatChromosome1.getAllele(i);
67 1 1. combine : removed call to net/bmahe/genetics4j/core/chromosomes/FloatChromosome::getAllele → KILLED
			final float secondAllele = floatChromosome2.getAllele(i);
68
69 3 1. combine : negated conditional → KILLED
2. combine : removed conditional - replaced equality check with false → KILLED
3. combine : removed conditional - replaced equality check with true → KILLED
			if (useChromosome1) {
70 5 1. combine : Replaced float multiplication with division → KILLED
2. combine : Replaced float multiplication with division → KILLED
3. combine : Replaced float addition with subtraction → KILLED
4. combine : Replaced float subtraction with addition → KILLED
5. combine : Substituted 1.0 with 2.0 → KILLED
				firstChildValues[i] = alpha * firstAllele + (1 - alpha) * secondAllele;
71 5 1. combine : Replaced float subtraction with addition → KILLED
2. combine : Substituted 1.0 with 2.0 → KILLED
3. combine : Replaced float multiplication with division → KILLED
4. combine : Replaced float addition with subtraction → KILLED
5. combine : Replaced float multiplication with division → KILLED
				secondChildValues[i] = (1 - alpha) * firstAllele + alpha * secondAllele;
72
			} else {
73 5 1. combine : Replaced float subtraction with addition → KILLED
2. combine : Substituted 1.0 with 2.0 → KILLED
3. combine : Replaced float multiplication with division → KILLED
4. combine : Replaced float addition with subtraction → KILLED
5. combine : Replaced float multiplication with division → KILLED
				firstChildValues[i] = (1 - alpha) * firstAllele + alpha * secondAllele;
74 5 1. combine : Replaced float addition with subtraction → KILLED
2. combine : Replaced float subtraction with addition → KILLED
3. combine : Substituted 1.0 with 2.0 → KILLED
4. combine : Replaced float multiplication with division → KILLED
5. combine : Replaced float multiplication with division → KILLED
				secondChildValues[i] = alpha * firstAllele + (1 - alpha) * secondAllele;
75
			}
76
		}
77
78
		/**
79
		 * TODO Should the min/max values be extended based on the lowest/highest
80
		 * values?
81
		 */
82 1 1. combine : removed call to net/bmahe/genetics4j/core/chromosomes/FloatChromosome::getMinValue → SURVIVED
		final float minValue = floatChromosome1.getMinValue();
83 1 1. combine : removed call to net/bmahe/genetics4j/core/chromosomes/FloatChromosome::getMaxValue → SURVIVED
		final float maxValue = floatChromosome2.getMaxValue();
84
85 4 1. combine : replaced return value with Collections.emptyList for net/bmahe/genetics4j/core/combination/multipointarithmetic/FloatChromosomeMultiPointArithmetic::combine → KILLED
2. combine : removed call to java/util/List::of → KILLED
3. combine : removed call to net/bmahe/genetics4j/core/chromosomes/FloatChromosome::<init> → KILLED
4. combine : removed call to net/bmahe/genetics4j/core/chromosomes/FloatChromosome::<init> → KILLED
		return List.of(new FloatChromosome(numAlleles, minValue, maxValue, firstChildValues),
86
				new FloatChromosome(numAlleles, minValue, maxValue, secondChildValues));
87
	}
88
}

Mutations

25

1.1
Location : <init>
Killed by : net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest]/[method:combineTest()]
Removed assignment to member variable randomGenerator → KILLED

26

1.1
Location : <init>
Killed by : net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest]/[method:combineTest()]
Removed assignment to member variable multiPointArithmeticPolicy → KILLED

41

1.1
Location : combine
Killed by : net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest]/[method:combineTest()]
removed call to net/bmahe/genetics4j/core/spec/combination/MultiPointArithmetic::numCrossovers → KILLED

42

1.1
Location : combine
Killed by : net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest]/[method:combineTest()]
removed call to net/bmahe/genetics4j/core/spec/combination/MultiPointArithmetic::alpha → KILLED

44

1.1
Location : combine
Killed by : net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest]/[method:combineTest()]
removed call to java/util/random/RandomGenerator::ints → KILLED

2.2
Location : combine
Killed by : none
Substituted 0 with 1 → SURVIVED
Covering tests

3.3
Location : combine
Killed by : none
removed call to net/bmahe/genetics4j/core/chromosomes/Chromosome::getNumAlleles → SURVIVED Covering tests

45

1.1
Location : combine
Killed by : none
replaced call to java/util/stream/IntStream::distinct with receiver → SURVIVED
Covering tests

2.2
Location : combine
Killed by : net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest]/[method:combineTest()]
removed call to java/util/stream/IntStream::distinct → KILLED

46

1.1
Location : combine
Killed by : none
replaced call to java/util/stream/IntStream::limit with receiver → SURVIVED
Covering tests

2.2
Location : combine
Killed by : net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest]/[method:combineTest()]
removed call to java/util/stream/IntStream::limit → KILLED

47

1.1
Location : combine
Killed by : none
replaced call to java/util/stream/IntStream::sorted with receiver → SURVIVED
Covering tests

2.2
Location : combine
Killed by : net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest]/[method:combineTest()]
removed call to java/util/stream/IntStream::sorted → KILLED

48

1.1
Location : combine
Killed by : net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest]/[method:combineTest()]
removed call to java/util/stream/IntStream::toArray → KILLED

53

1.1
Location : combine
Killed by : net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest]/[method:combineTest()]
removed call to net/bmahe/genetics4j/core/chromosomes/Chromosome::getNumAlleles → KILLED

57

1.1
Location : combine
Killed by : net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest]/[method:combineTest()]
Substituted 1 with 0 → KILLED

58

1.1
Location : combine
Killed by : net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest]/[method:combineTest()]
Substituted 0 with 1 → KILLED

59

1.1
Location : combine
Killed by : net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest]/[method:combineTest()]
changed conditional boundary → KILLED

2.2
Location : combine
Killed by : net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest]/[method:combineTest()]
removed conditional - replaced comparison check with false → KILLED

3.3
Location : combine
Killed by : net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest]/[method:combineTest()]
removed call to net/bmahe/genetics4j/core/chromosomes/FloatChromosome::getNumAlleles → KILLED

4.4
Location : combine
Killed by : net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest]/[method:combineTest()]
removed conditional - replaced comparison check with true → KILLED

5.5
Location : combine
Killed by : net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest]/[method:combineTest()]
negated conditional → KILLED

6.6
Location : combine
Killed by : net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest]/[method:combineTest()]
Substituted 0 with 1 → KILLED

61

1.1
Location : combine
Killed by : net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest]/[method:combineTest()]
negated conditional → KILLED

2.2
Location : combine
Killed by : none
removed conditional - replaced comparison check with true → SURVIVED
Covering tests

3.3
Location : combine
Killed by : net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest]/[method:combineTest()]
negated conditional → KILLED

4.4
Location : combine
Killed by : net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest]/[method:combineTest()]
removed conditional - replaced equality check with false → KILLED

5.5
Location : combine
Killed by : none
changed conditional boundary → SURVIVED Covering tests

6.6
Location : combine
Killed by : net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest]/[method:combineTest()]
removed conditional - replaced equality check with true → KILLED

7.7
Location : combine
Killed by : net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest]/[method:combineTest()]
removed conditional - replaced comparison check with false → KILLED

62

1.1
Location : combine
Killed by : net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest]/[method:combineTest()]
Changed increment from 1 to -1 → KILLED

2.2
Location : combine
Killed by : net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest]/[method:combineTest()]
Removed increment 1 → KILLED

63

1.1
Location : combine
Killed by : net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest]/[method:combineTest()]
Substituted 0 with 1 → KILLED

2.2
Location : combine
Killed by : net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest]/[method:combineTest()]
negated conditional → KILLED

3.3
Location : combine
Killed by : net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest]/[method:combineTest()]
Substituted 1 with 0 → KILLED

4.4
Location : combine
Killed by : net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest]/[method:combineTest()]
removed conditional - replaced equality check with false → KILLED

5.5
Location : combine
Killed by : net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest]/[method:combineTest()]
removed conditional - replaced equality check with true → KILLED

66

1.1
Location : combine
Killed by : net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest]/[method:combineTest()]
removed call to net/bmahe/genetics4j/core/chromosomes/FloatChromosome::getAllele → KILLED

67

1.1
Location : combine
Killed by : net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest]/[method:combineTest()]
removed call to net/bmahe/genetics4j/core/chromosomes/FloatChromosome::getAllele → KILLED

69

1.1
Location : combine
Killed by : net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest]/[method:combineTest()]
negated conditional → KILLED

2.2
Location : combine
Killed by : net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest]/[method:combineTest()]
removed conditional - replaced equality check with false → KILLED

3.3
Location : combine
Killed by : net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest]/[method:combineTest()]
removed conditional - replaced equality check with true → KILLED

70

1.1
Location : combine
Killed by : net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest]/[method:combineTest()]
Replaced float multiplication with division → KILLED

2.2
Location : combine
Killed by : net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest]/[method:combineTest()]
Replaced float multiplication with division → KILLED

3.3
Location : combine
Killed by : net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest]/[method:combineTest()]
Replaced float addition with subtraction → KILLED

4.4
Location : combine
Killed by : net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest]/[method:combineTest()]
Replaced float subtraction with addition → KILLED

5.5
Location : combine
Killed by : net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest]/[method:combineTest()]
Substituted 1.0 with 2.0 → KILLED

71

1.1
Location : combine
Killed by : net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest]/[method:combineTest()]
Replaced float subtraction with addition → KILLED

2.2
Location : combine
Killed by : net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest]/[method:combineTest()]
Substituted 1.0 with 2.0 → KILLED

3.3
Location : combine
Killed by : net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest]/[method:combineTest()]
Replaced float multiplication with division → KILLED

4.4
Location : combine
Killed by : net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest]/[method:combineTest()]
Replaced float addition with subtraction → KILLED

5.5
Location : combine
Killed by : net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest]/[method:combineTest()]
Replaced float multiplication with division → KILLED

73

1.1
Location : combine
Killed by : net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest]/[method:combineTest()]
Replaced float subtraction with addition → KILLED

2.2
Location : combine
Killed by : net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest]/[method:combineTest()]
Substituted 1.0 with 2.0 → KILLED

3.3
Location : combine
Killed by : net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest]/[method:combineTest()]
Replaced float multiplication with division → KILLED

4.4
Location : combine
Killed by : net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest]/[method:combineTest()]
Replaced float addition with subtraction → KILLED

5.5
Location : combine
Killed by : net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest]/[method:combineTest()]
Replaced float multiplication with division → KILLED

74

1.1
Location : combine
Killed by : net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest]/[method:combineTest()]
Replaced float addition with subtraction → KILLED

2.2
Location : combine
Killed by : net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest]/[method:combineTest()]
Replaced float subtraction with addition → KILLED

3.3
Location : combine
Killed by : net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest]/[method:combineTest()]
Substituted 1.0 with 2.0 → KILLED

4.4
Location : combine
Killed by : net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest]/[method:combineTest()]
Replaced float multiplication with division → KILLED

5.5
Location : combine
Killed by : net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest]/[method:combineTest()]
Replaced float multiplication with division → KILLED

82

1.1
Location : combine
Killed by : none
removed call to net/bmahe/genetics4j/core/chromosomes/FloatChromosome::getMinValue → SURVIVED
Covering tests

83

1.1
Location : combine
Killed by : none
removed call to net/bmahe/genetics4j/core/chromosomes/FloatChromosome::getMaxValue → SURVIVED
Covering tests

85

1.1
Location : combine
Killed by : net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest]/[method:combineTest()]
replaced return value with Collections.emptyList for net/bmahe/genetics4j/core/combination/multipointarithmetic/FloatChromosomeMultiPointArithmetic::combine → KILLED

2.2
Location : combine
Killed by : net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest]/[method:combineTest()]
removed call to java/util/List::of → KILLED

3.3
Location : combine
Killed by : net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest]/[method:combineTest()]
removed call to net/bmahe/genetics4j/core/chromosomes/FloatChromosome::<init> → KILLED

4.4
Location : combine
Killed by : net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.combination.multipointarithmetic.FloatChromosomeMultiPointArithmeticTest]/[method:combineTest()]
removed call to net/bmahe/genetics4j/core/chromosomes/FloatChromosome::<init> → KILLED

Active mutators

Tests examined


Report generated by PIT 1.19.6