ProportionalTournamentSelector.java

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

Mutations

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 selectionPolicy → KILLED

32

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

47

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

48

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

49

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

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/selection/ProportionalTournament::proportionFirst → 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 net/bmahe/genetics4j/core/spec/AbstractEAConfiguration::optimization → 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()]
Changed switch default to be first case → KILLED

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

4.4
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

5.5
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

6.6
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

54

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

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 net/bmahe/genetics4j/core/spec/AbstractEAConfiguration::optimization → 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()]
Changed switch default to be first case → 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 0 (case value 1) → KILLED

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

5.5
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

6.6
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

59

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

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::<init> → 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:selectMinimize()]
changed conditional boundary → 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::size → 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()]
negated conditional → 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()]
removed conditional - replaced comparison check with true → KILLED

68

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 : 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

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

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 call to java/util/random/RandomGenerator::nextDouble → 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

72

1.1
Location : select
Killed by : none
removed call to java/util/List::size → 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
Substituted 0 with 1 → SURVIVED Covering tests

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/IntStream::boxed → KILLED

74

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

75

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

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 java/util/Optional::get → KILLED

78

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::fitness → 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::genotype → KILLED

81

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.20.3