ProportionalTournamentSelector.java

1
package net.bmahe.genetics4j.core.selection;
2
3
import java.util.Comparator;
4
import java.util.List;
5
import java.util.random.RandomGenerator;
6
7
import org.apache.commons.lang3.Validate;
8
import org.apache.logging.log4j.LogManager;
9
import org.apache.logging.log4j.Logger;
10
11
import net.bmahe.genetics4j.core.Genotype;
12
import net.bmahe.genetics4j.core.Individual;
13
import net.bmahe.genetics4j.core.Population;
14
import net.bmahe.genetics4j.core.spec.AbstractEAConfiguration;
15
import net.bmahe.genetics4j.core.spec.selection.ProportionalTournament;
16
import net.bmahe.genetics4j.core.spec.selection.SelectionPolicy;
17
18
public class ProportionalTournamentSelector<T extends Comparable<T>> implements Selector<T> {
19
	final static public Logger logger = LogManager.getLogger(ProportionalTournamentSelector.class);
20
21
	private final SelectionPolicy selectionPolicy;
22
	private final RandomGenerator randomGenerator;
23
24
	public ProportionalTournamentSelector(final SelectionPolicy _selectionPolicy,
25
			final RandomGenerator _randomGenerator) {
26
		Validate.notNull(_selectionPolicy);
27
		Validate.isInstanceOf(ProportionalTournament.class, _selectionPolicy);
28
		Validate.notNull(_randomGenerator);
29
30 1 1. <init> : Removed assignment to member variable selectionPolicy → KILLED
		this.selectionPolicy = _selectionPolicy;
31 1 1. <init> : Removed assignment to member variable randomGenerator → KILLED
		this.randomGenerator = _randomGenerator;
32
	}
33
34
	@Override
35
	public Population<T> select(final AbstractEAConfiguration<T> eaConfiguration, final int numIndividuals,
36
			final List<Genotype> population, final List<T> fitnessScore) {
37
		Validate.notNull(eaConfiguration);
38
		Validate.notNull(population);
39
		Validate.notNull(fitnessScore);
40
		Validate.isTrue(numIndividuals > 0);
41
		Validate.isTrue(population.size() == fitnessScore.size());
42
43
		@SuppressWarnings("unchecked")
44
		final ProportionalTournament<T> proportionalTournament = (ProportionalTournament<T>) selectionPolicy;
45 1 1. select : removed call to net/bmahe/genetics4j/core/spec/selection/ProportionalTournament::firstComparator → KILLED
		final Comparator<Individual<T>> firstComparator = proportionalTournament.firstComparator();
46 1 1. select : removed call to net/bmahe/genetics4j/core/spec/selection/ProportionalTournament::secondComparator → KILLED
		final Comparator<Individual<T>> secondComparator = proportionalTournament.secondComparator();
47 1 1. select : removed call to net/bmahe/genetics4j/core/spec/selection/ProportionalTournament::numCandidates → SURVIVED
		final int numCandidates = proportionalTournament.numCandidates();
48 1 1. select : removed call to net/bmahe/genetics4j/core/spec/selection/ProportionalTournament::proportionFirst → KILLED
		final double proportionFirst = proportionalTournament.proportionFirst();
49
50 6 1. select : removed call to java/lang/MatchException::<init> → NO_COVERAGE
2. select : removed call to net/bmahe/genetics4j/core/spec/Optimization::ordinal → KILLED
3. select : RemoveSwitch 0 (case value 1) → KILLED
4. select : RemoveSwitch 1 (case value 2) → KILLED
5. select : removed call to net/bmahe/genetics4j/core/spec/AbstractEAConfiguration::optimization → KILLED
6. select : Changed switch default to be first case → KILLED
		final Comparator<Individual<T>> firstComparatorOptimize = switch (eaConfiguration.optimization()) {
51
			case MAXIMIZE -> firstComparator;
52 2 1. select : removed call to java/util/Comparator::reversed → KILLED
2. select : replaced call to java/util/Comparator::reversed with receiver → KILLED
			case MINIMIZE -> firstComparator.reversed();
53
		};
54
55 6 1. select : removed call to java/lang/MatchException::<init> → NO_COVERAGE
2. select : removed call to net/bmahe/genetics4j/core/spec/Optimization::ordinal → KILLED
3. select : RemoveSwitch 0 (case value 1) → KILLED
4. select : RemoveSwitch 1 (case value 2) → KILLED
5. select : removed call to net/bmahe/genetics4j/core/spec/AbstractEAConfiguration::optimization → KILLED
6. select : Changed switch default to be first case → KILLED
		final Comparator<Individual<T>> secondComparatorOptimize = switch (eaConfiguration.optimization()) {
56
			case MAXIMIZE -> secondComparator;
57 2 1. select : removed call to java/util/Comparator::reversed → KILLED
2. select : replaced call to java/util/Comparator::reversed with receiver → KILLED
			case MINIMIZE -> secondComparator.reversed();
58
		};
59
60
		logger.debug("Selecting {} individuals", numIndividuals);
61
62 1 1. select : removed call to net/bmahe/genetics4j/core/Population::<init> → KILLED
		final Population<T> selectedIndividuals = new Population<>();
63
64 5 1. select : removed call to net/bmahe/genetics4j/core/Population::size → KILLED
2. select : negated conditional → KILLED
3. select : removed conditional - replaced comparison check with false → KILLED
4. select : removed conditional - replaced comparison check with true → KILLED
5. select : changed conditional boundary → KILLED
		while (selectedIndividuals.size() < numIndividuals) {
65
66 5 1. select : changed conditional boundary → SURVIVED
2. select : removed conditional - replaced comparison check with false → KILLED
3. select : removed call to java/util/random/RandomGenerator::nextDouble → KILLED
4. select : removed conditional - replaced comparison check with true → KILLED
5. select : negated conditional → KILLED
			final Comparator<Individual<T>> comparator = randomGenerator.nextDouble() < proportionFirst
67
					? firstComparatorOptimize
68
					: secondComparatorOptimize;
69
70 3 1. select : Substituted 0 with 1 → SURVIVED
2. select : removed call to java/util/List::size → SURVIVED
3. select : removed call to java/util/random/RandomGenerator::ints → KILLED
			final Individual<T> selected = randomGenerator.ints(numCandidates, 0, population.size())
71 1 1. select : removed call to java/util/stream/IntStream::boxed → KILLED
					.boxed()
72 8 1. lambda$select$0 : removed call to java/util/List::get → KILLED
2. lambda$select$0 : removed call to java/util/List::get → KILLED
3. lambda$select$0 : replaced return value with null for net/bmahe/genetics4j/core/selection/ProportionalTournamentSelector::lambda$select$0 → KILLED
4. select : removed call to java/util/stream/Stream::map → KILLED
5. lambda$select$0 : removed call to net/bmahe/genetics4j/core/Individual::of → KILLED
6. select : replaced call to java/util/stream/Stream::map with receiver → KILLED
7. lambda$select$0 : removed call to java/lang/Integer::intValue → KILLED
8. lambda$select$0 : removed call to java/lang/Integer::intValue → KILLED
					.map((i) -> Individual.of(population.get(i), fitnessScore.get(i)))
73 1 1. select : removed call to java/util/stream/Stream::max → KILLED
					.max(comparator)
74 1 1. select : removed call to java/util/Optional::get → KILLED
					.get();
75
76 3 1. select : removed call to net/bmahe/genetics4j/core/Individual::genotype → KILLED
2. select : removed call to net/bmahe/genetics4j/core/Population::add → KILLED
3. select : removed call to net/bmahe/genetics4j/core/Individual::fitness → KILLED
			selectedIndividuals.add(selected.genotype(), selected.fitness());
77
		}
78
79 1 1. select : replaced return value with null for net/bmahe/genetics4j/core/selection/ProportionalTournamentSelector::select → KILLED
		return selectedIndividuals;
80
	}
81
}

Mutations

30

1.1
Location : <init>
Killed by : net.bmahe.genetics4j.core.selection.ProportionalTournamentSelectionPolicyHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.selection.ProportionalTournamentSelectionPolicyHandlerTest]/[method:selectMinimize()]
Removed assignment to member variable selectionPolicy → KILLED

31

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

45

1.1
Location : select
Killed by : net.bmahe.genetics4j.core.selection.ProportionalTournamentSelectionPolicyHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.selection.ProportionalTournamentSelectionPolicyHandlerTest]/[method:selectMinimize()]
removed call to net/bmahe/genetics4j/core/spec/selection/ProportionalTournament::firstComparator → KILLED

46

1.1
Location : select
Killed by : net.bmahe.genetics4j.core.selection.ProportionalTournamentSelectionPolicyHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.selection.ProportionalTournamentSelectionPolicyHandlerTest]/[method:selectMinimize()]
removed call to net/bmahe/genetics4j/core/spec/selection/ProportionalTournament::secondComparator → KILLED

47

1.1
Location : select
Killed by : none
removed call to net/bmahe/genetics4j/core/spec/selection/ProportionalTournament::numCandidates → SURVIVED
Covering tests

48

1.1
Location : select
Killed by : net.bmahe.genetics4j.core.selection.ProportionalTournamentSelectionPolicyHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.selection.ProportionalTournamentSelectionPolicyHandlerTest]/[method:selectMaximize()]
removed call to net/bmahe/genetics4j/core/spec/selection/ProportionalTournament::proportionFirst → KILLED

50

1.1
Location : select
Killed by : net.bmahe.genetics4j.core.selection.ProportionalTournamentSelectionPolicyHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.selection.ProportionalTournamentSelectionPolicyHandlerTest]/[method:selectMaximize()]
removed call to net/bmahe/genetics4j/core/spec/Optimization::ordinal → KILLED

2.2
Location : select
Killed by : net.bmahe.genetics4j.core.selection.ProportionalTournamentSelectionPolicyHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.selection.ProportionalTournamentSelectionPolicyHandlerTest]/[method:selectMinimize()]
RemoveSwitch 0 (case value 1) → KILLED

3.3
Location : select
Killed by : net.bmahe.genetics4j.core.selection.ProportionalTournamentSelectionPolicyHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.selection.ProportionalTournamentSelectionPolicyHandlerTest]/[method:selectMinimize()]
RemoveSwitch 1 (case value 2) → KILLED

4.4
Location : select
Killed by : net.bmahe.genetics4j.core.selection.ProportionalTournamentSelectionPolicyHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.selection.ProportionalTournamentSelectionPolicyHandlerTest]/[method:selectMinimize()]
removed call to net/bmahe/genetics4j/core/spec/AbstractEAConfiguration::optimization → KILLED

5.5
Location : select
Killed by : none
removed call to java/lang/MatchException::<init> → NO_COVERAGE

6.6
Location : select
Killed by : net.bmahe.genetics4j.core.selection.ProportionalTournamentSelectionPolicyHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.selection.ProportionalTournamentSelectionPolicyHandlerTest]/[method:selectMinimize()]
Changed switch default to be first case → KILLED

52

1.1
Location : select
Killed by : net.bmahe.genetics4j.core.selection.ProportionalTournamentSelectionPolicyHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.selection.ProportionalTournamentSelectionPolicyHandlerTest]/[method:selectMinimize()]
removed call to java/util/Comparator::reversed → KILLED

2.2
Location : select
Killed by : net.bmahe.genetics4j.core.selection.ProportionalTournamentSelectionPolicyHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.selection.ProportionalTournamentSelectionPolicyHandlerTest]/[method:selectMinimize()]
replaced call to java/util/Comparator::reversed with receiver → KILLED

55

1.1
Location : select
Killed by : net.bmahe.genetics4j.core.selection.ProportionalTournamentSelectionPolicyHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.selection.ProportionalTournamentSelectionPolicyHandlerTest]/[method:selectMinimize()]
removed call to net/bmahe/genetics4j/core/spec/Optimization::ordinal → KILLED

2.2
Location : select
Killed by : net.bmahe.genetics4j.core.selection.ProportionalTournamentSelectionPolicyHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.selection.ProportionalTournamentSelectionPolicyHandlerTest]/[method:selectMinimize()]
RemoveSwitch 0 (case value 1) → KILLED

3.3
Location : select
Killed by : net.bmahe.genetics4j.core.selection.ProportionalTournamentSelectionPolicyHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.selection.ProportionalTournamentSelectionPolicyHandlerTest]/[method:selectMinimize()]
RemoveSwitch 1 (case value 2) → KILLED

4.4
Location : select
Killed by : net.bmahe.genetics4j.core.selection.ProportionalTournamentSelectionPolicyHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.selection.ProportionalTournamentSelectionPolicyHandlerTest]/[method:selectMinimize()]
removed call to net/bmahe/genetics4j/core/spec/AbstractEAConfiguration::optimization → KILLED

5.5
Location : select
Killed by : net.bmahe.genetics4j.core.selection.ProportionalTournamentSelectionPolicyHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.selection.ProportionalTournamentSelectionPolicyHandlerTest]/[method:selectMinimize()]
Changed switch default to be first case → KILLED

6.6
Location : select
Killed by : none
removed call to java/lang/MatchException::<init> → NO_COVERAGE

57

1.1
Location : select
Killed by : net.bmahe.genetics4j.core.selection.ProportionalTournamentSelectionPolicyHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.selection.ProportionalTournamentSelectionPolicyHandlerTest]/[method:selectMinimize()]
removed call to java/util/Comparator::reversed → KILLED

2.2
Location : select
Killed by : net.bmahe.genetics4j.core.selection.ProportionalTournamentSelectionPolicyHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.selection.ProportionalTournamentSelectionPolicyHandlerTest]/[method:selectMinimize()]
replaced call to java/util/Comparator::reversed with receiver → KILLED

62

1.1
Location : select
Killed by : net.bmahe.genetics4j.core.selection.ProportionalTournamentSelectionPolicyHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.selection.ProportionalTournamentSelectionPolicyHandlerTest]/[method:selectMinimize()]
removed call to net/bmahe/genetics4j/core/Population::<init> → KILLED

64

1.1
Location : select
Killed by : net.bmahe.genetics4j.core.selection.ProportionalTournamentSelectionPolicyHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.selection.ProportionalTournamentSelectionPolicyHandlerTest]/[method:selectMinimize()]
removed call to net/bmahe/genetics4j/core/Population::size → KILLED

2.2
Location : select
Killed by : net.bmahe.genetics4j.core.selection.ProportionalTournamentSelectionPolicyHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.selection.ProportionalTournamentSelectionPolicyHandlerTest]/[method:selectMinimize()]
negated conditional → KILLED

3.3
Location : select
Killed by : net.bmahe.genetics4j.core.selection.ProportionalTournamentSelectionPolicyHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.selection.ProportionalTournamentSelectionPolicyHandlerTest]/[method:selectMinimize()]
removed conditional - replaced comparison check with false → KILLED

4.4
Location : select
Killed by : net.bmahe.genetics4j.core.selection.ProportionalTournamentSelectionPolicyHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.selection.ProportionalTournamentSelectionPolicyHandlerTest]/[method:selectMinimize()]
removed conditional - replaced comparison check with true → KILLED

5.5
Location : select
Killed by : net.bmahe.genetics4j.core.selection.ProportionalTournamentSelectionPolicyHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.selection.ProportionalTournamentSelectionPolicyHandlerTest]/[method:selectMinimize()]
changed conditional boundary → KILLED

66

1.1
Location : select
Killed by : net.bmahe.genetics4j.core.selection.ProportionalTournamentSelectionPolicyHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.selection.ProportionalTournamentSelectionPolicyHandlerTest]/[method:selectMaximize()]
removed conditional - replaced comparison check with false → KILLED

2.2
Location : select
Killed by : none
changed conditional boundary → SURVIVED
Covering tests

3.3
Location : select
Killed by : net.bmahe.genetics4j.core.selection.ProportionalTournamentSelectionPolicyHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.selection.ProportionalTournamentSelectionPolicyHandlerTest]/[method:selectMaximize()]
removed call to java/util/random/RandomGenerator::nextDouble → KILLED

4.4
Location : select
Killed by : net.bmahe.genetics4j.core.selection.ProportionalTournamentSelectionPolicyHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.selection.ProportionalTournamentSelectionPolicyHandlerTest]/[method:selectMaximize()]
removed conditional - replaced comparison check with true → KILLED

5.5
Location : select
Killed by : net.bmahe.genetics4j.core.selection.ProportionalTournamentSelectionPolicyHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.selection.ProportionalTournamentSelectionPolicyHandlerTest]/[method:selectMaximize()]
negated conditional → KILLED

70

1.1
Location : select
Killed by : none
Substituted 0 with 1 → SURVIVED
Covering tests

2.2
Location : select
Killed by : net.bmahe.genetics4j.core.selection.ProportionalTournamentSelectionPolicyHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.selection.ProportionalTournamentSelectionPolicyHandlerTest]/[method:selectMinimize()]
removed call to java/util/random/RandomGenerator::ints → KILLED

3.3
Location : select
Killed by : none
removed call to java/util/List::size → SURVIVED Covering tests

71

1.1
Location : select
Killed by : net.bmahe.genetics4j.core.selection.ProportionalTournamentSelectionPolicyHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.selection.ProportionalTournamentSelectionPolicyHandlerTest]/[method:selectMinimize()]
removed call to java/util/stream/IntStream::boxed → KILLED

72

1.1
Location : lambda$select$0
Killed by : net.bmahe.genetics4j.core.selection.ProportionalTournamentSelectionPolicyHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.selection.ProportionalTournamentSelectionPolicyHandlerTest]/[method:selectMinimize()]
removed call to java/util/List::get → KILLED

2.2
Location : lambda$select$0
Killed by : net.bmahe.genetics4j.core.selection.ProportionalTournamentSelectionPolicyHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.selection.ProportionalTournamentSelectionPolicyHandlerTest]/[method:selectMinimize()]
removed call to java/util/List::get → KILLED

3.3
Location : lambda$select$0
Killed by : net.bmahe.genetics4j.core.selection.ProportionalTournamentSelectionPolicyHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.selection.ProportionalTournamentSelectionPolicyHandlerTest]/[method:selectMinimize()]
replaced return value with null for net/bmahe/genetics4j/core/selection/ProportionalTournamentSelector::lambda$select$0 → KILLED

4.4
Location : select
Killed by : net.bmahe.genetics4j.core.selection.ProportionalTournamentSelectionPolicyHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.selection.ProportionalTournamentSelectionPolicyHandlerTest]/[method:selectMinimize()]
removed call to java/util/stream/Stream::map → KILLED

5.5
Location : lambda$select$0
Killed by : net.bmahe.genetics4j.core.selection.ProportionalTournamentSelectionPolicyHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.selection.ProportionalTournamentSelectionPolicyHandlerTest]/[method:selectMinimize()]
removed call to net/bmahe/genetics4j/core/Individual::of → KILLED

6.6
Location : select
Killed by : net.bmahe.genetics4j.core.selection.ProportionalTournamentSelectionPolicyHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.selection.ProportionalTournamentSelectionPolicyHandlerTest]/[method:selectMinimize()]
replaced call to java/util/stream/Stream::map with receiver → KILLED

7.7
Location : lambda$select$0
Killed by : net.bmahe.genetics4j.core.selection.ProportionalTournamentSelectionPolicyHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.selection.ProportionalTournamentSelectionPolicyHandlerTest]/[method:selectMinimize()]
removed call to java/lang/Integer::intValue → KILLED

8.8
Location : lambda$select$0
Killed by : net.bmahe.genetics4j.core.selection.ProportionalTournamentSelectionPolicyHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.selection.ProportionalTournamentSelectionPolicyHandlerTest]/[method:selectMinimize()]
removed call to java/lang/Integer::intValue → KILLED

73

1.1
Location : select
Killed by : net.bmahe.genetics4j.core.selection.ProportionalTournamentSelectionPolicyHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.selection.ProportionalTournamentSelectionPolicyHandlerTest]/[method:selectMinimize()]
removed call to java/util/stream/Stream::max → KILLED

74

1.1
Location : select
Killed by : net.bmahe.genetics4j.core.selection.ProportionalTournamentSelectionPolicyHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.selection.ProportionalTournamentSelectionPolicyHandlerTest]/[method:selectMinimize()]
removed call to java/util/Optional::get → KILLED

76

1.1
Location : select
Killed by : net.bmahe.genetics4j.core.selection.ProportionalTournamentSelectionPolicyHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.selection.ProportionalTournamentSelectionPolicyHandlerTest]/[method:selectMinimize()]
removed call to net/bmahe/genetics4j/core/Individual::genotype → KILLED

2.2
Location : select
Killed by : net.bmahe.genetics4j.core.selection.ProportionalTournamentSelectionPolicyHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.selection.ProportionalTournamentSelectionPolicyHandlerTest]/[method:selectMinimize()]
removed call to net/bmahe/genetics4j/core/Population::add → KILLED

3.3
Location : select
Killed by : net.bmahe.genetics4j.core.selection.ProportionalTournamentSelectionPolicyHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.selection.ProportionalTournamentSelectionPolicyHandlerTest]/[method:selectMinimize()]
removed call to net/bmahe/genetics4j/core/Individual::fitness → KILLED

79

1.1
Location : select
Killed by : net.bmahe.genetics4j.core.selection.ProportionalTournamentSelectionPolicyHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.core.selection.ProportionalTournamentSelectionPolicyHandlerTest]/[method:selectMinimize()]
replaced return value with null for net/bmahe/genetics4j/core/selection/ProportionalTournamentSelector::select → KILLED

Active mutators

Tests examined


Report generated by PIT 1.19.6