NeatChromosomeAddNodeMutationHandler.java

1
package net.bmahe.genetics4j.neat.mutation.chromosome;
2
3
import java.util.ArrayList;
4
import java.util.List;
5
import java.util.Objects;
6
import java.util.random.RandomGenerator;
7
8
import net.bmahe.genetics4j.neat.Connection;
9
import net.bmahe.genetics4j.neat.InnovationManager;
10
import net.bmahe.genetics4j.neat.NodeIdManagerRegistry;
11
import net.bmahe.genetics4j.neat.chromosomes.NeatChromosome;
12
import net.bmahe.genetics4j.neat.spec.mutation.AddNode;
13
14
public class NeatChromosomeAddNodeMutationHandler extends AbstractNeatChromosomeConnectionMutationHandler<AddNode> {
15
16
	private final RandomGenerator randomGenerator;
17
	private final InnovationManager innovationManager;
18
	private final NodeIdManagerRegistry nodeIdManagerRegistry;
19
20
	public NeatChromosomeAddNodeMutationHandler(final RandomGenerator randomGenerator,
21
			final InnovationManager innovationManager) {
22 1 1. <init> : removed call to net/bmahe/genetics4j/neat/NodeIdManagerRegistry::<init> → KILLED
		this(randomGenerator, innovationManager, new NodeIdManagerRegistry());
23
	}
24
25
	public NeatChromosomeAddNodeMutationHandler(final RandomGenerator _randomGenerator,
26
			final InnovationManager _innovationManager,
27
			final NodeIdManagerRegistry _nodeIdManagerRegistry) {
28
		super(AddNode.class, _randomGenerator);
29
		Objects.requireNonNull(_randomGenerator);
30
		Objects.requireNonNull(_innovationManager);
31
		Objects.requireNonNull(_nodeIdManagerRegistry);
32
33 1 1. <init> : Removed assignment to member variable randomGenerator → SURVIVED
		this.randomGenerator = _randomGenerator;
34 1 1. <init> : Removed assignment to member variable innovationManager → KILLED
		this.innovationManager = _innovationManager;
35 1 1. <init> : Removed assignment to member variable nodeIdManagerRegistry → KILLED
		this.nodeIdManagerRegistry = _nodeIdManagerRegistry;
36
	}
37
38
	@Override
39
	protected List<Connection> mutateConnection(final AddNode mutationPolicy, final NeatChromosome neatChromosome,
40
			final Connection oldConnection, final int i) {
41
42
		/*
43
		 * Add-node mutations split enabled connections only. A disabled connection may already have been split, so
44
		 * splitting it again could recreate child links that use the same stable hidden-node ID.
45
		 */
46 4 1. mutateConnection : removed call to net/bmahe/genetics4j/neat/Connection::isEnabled → KILLED
2. mutateConnection : removed conditional - replaced equality check with false → KILLED
3. mutateConnection : removed conditional - replaced equality check with true → KILLED
4. mutateConnection : negated conditional → KILLED
		if (oldConnection.isEnabled() == false) {
47 4 1. mutateConnection : replaced call to net/bmahe/genetics4j/neat/Connection::copyOf with argument → SURVIVED
2. mutateConnection : removed call to net/bmahe/genetics4j/neat/Connection::copyOf → KILLED
3. mutateConnection : replaced return value with Collections.emptyList for net/bmahe/genetics4j/neat/mutation/chromosome/NeatChromosomeAddNodeMutationHandler::mutateConnection → KILLED
4. mutateConnection : removed call to java/util/List::of → KILLED
			return List.of(Connection.copyOf(oldConnection));
48
		}
49
50 1 1. mutateConnection : removed call to java/util/ArrayList::<init> → KILLED
		final List<Connection> connections = new ArrayList<>();
51
52 7 1. mutateConnection : removed call to net/bmahe/genetics4j/neat/Connection$Builder::from → KILLED
2. mutateConnection : Substituted 0 with 1 → KILLED
3. mutateConnection : replaced call to net/bmahe/genetics4j/neat/Connection$Builder::from with receiver → KILLED
4. mutateConnection : removed call to net/bmahe/genetics4j/neat/Connection::builder → KILLED
5. mutateConnection : replaced call to net/bmahe/genetics4j/neat/Connection$Builder::isEnabled with receiver → KILLED
6. mutateConnection : removed call to net/bmahe/genetics4j/neat/Connection$Builder::isEnabled → KILLED
7. mutateConnection : removed call to net/bmahe/genetics4j/neat/Connection$Builder::build → KILLED
		final var disabledConnection = Connection.builder().from(oldConnection).isEnabled(false).build();
53
54 2 1. mutateConnection : removed call to net/bmahe/genetics4j/neat/chromosomes/NeatChromosome::getNodeLayout → KILLED
2. mutateConnection : removed call to net/bmahe/genetics4j/neat/NodeIdManagerRegistry::managerFor → KILLED
		final var nodeIdManager = nodeIdManagerRegistry.managerFor(neatChromosome.getNodeLayout());
55 1 1. mutateConnection : removed call to net/bmahe/genetics4j/neat/NodeIdManager::registerExistingNodeIds → KILLED
		nodeIdManager.registerExistingNodeIds(
56 1 1. mutateConnection : removed call to net/bmahe/genetics4j/neat/chromosomes/NeatChromosome::getConnections → KILLED
				neatChromosome.getConnections()
57 1 1. mutateConnection : removed call to java/util/List::stream → KILLED
						.stream()
58 2 1. mutateConnection : replaced call to java/util/stream/Stream::flatMap with receiver → KILLED
2. mutateConnection : removed call to java/util/stream/Stream::flatMap → KILLED
						.flatMap(
59 9 1. lambda$mutateConnection$0 : removed call to java/lang/Integer::valueOf → KILLED
2. lambda$mutateConnection$0 : removed call to java/util/stream/Stream::of → KILLED
3. lambda$mutateConnection$0 : Substituted 0 with 1 → KILLED
4. lambda$mutateConnection$0 : removed call to net/bmahe/genetics4j/neat/Connection::toNodeIndex → KILLED
5. lambda$mutateConnection$0 : removed call to java/lang/Integer::valueOf → KILLED
6. lambda$mutateConnection$0 : Substituted 1 with 0 → KILLED
7. lambda$mutateConnection$0 : removed call to net/bmahe/genetics4j/neat/Connection::fromNodeIndex → KILLED
8. lambda$mutateConnection$0 : replaced return value with Stream.empty for net/bmahe/genetics4j/neat/mutation/chromosome/NeatChromosomeAddNodeMutationHandler::lambda$mutateConnection$0 → KILLED
9. lambda$mutateConnection$0 : Substituted 2 with 3 → KILLED
								connection -> java.util.stream.Stream.of(connection.fromNodeIndex(), connection.toNodeIndex()))
60 1 1. mutateConnection : removed call to java/util/stream/Stream::toList → KILLED
						.toList());
61 3 1. mutateConnection : removed call to net/bmahe/genetics4j/neat/Connection::innovation → SURVIVED
2. mutateConnection : replaced call to net/bmahe/genetics4j/neat/NodeIdManager::nodeIdForSplit with argument → KILLED
3. mutateConnection : removed call to net/bmahe/genetics4j/neat/NodeIdManager::nodeIdForSplit → KILLED
		final int newNodeValue = nodeIdManager.nodeIdForSplit(oldConnection.innovation());
62
63 1 1. mutateConnection : removed call to java/util/List::add → KILLED
		connections.add(disabledConnection);
64
65 1 1. mutateConnection : removed call to net/bmahe/genetics4j/neat/chromosomes/NeatChromosome::getConnections → KILLED
		final boolean firstConnectionAlreadyExists = neatChromosome.getConnections()
66 1 1. mutateConnection : removed call to java/util/List::stream → KILLED
				.stream()
67 1 1. mutateConnection : removed call to java/util/stream/Stream::anyMatch → KILLED
				.anyMatch(
68 6 1. lambda$mutateConnection$1 : removed conditional - replaced equality check with true → SURVIVED
2. lambda$mutateConnection$1 : removed call to net/bmahe/genetics4j/neat/Connection::fromNodeIndex → SURVIVED
3. lambda$mutateConnection$1 : removed call to net/bmahe/genetics4j/neat/Connection::fromNodeIndex → SURVIVED
4. lambda$mutateConnection$1 : removed conditional - replaced equality check with false → KILLED
5. lambda$mutateConnection$1 : replaced boolean return with true for net/bmahe/genetics4j/neat/mutation/chromosome/NeatChromosomeAddNodeMutationHandler::lambda$mutateConnection$1 → KILLED
6. lambda$mutateConnection$1 : negated conditional → KILLED
						connection -> connection.fromNodeIndex() == oldConnection.fromNodeIndex()
69 6 1. lambda$mutateConnection$1 : Substituted 0 with 1 → KILLED
2. lambda$mutateConnection$1 : negated conditional → KILLED
3. lambda$mutateConnection$1 : removed conditional - replaced equality check with true → KILLED
4. lambda$mutateConnection$1 : Substituted 1 with 0 → KILLED
5. lambda$mutateConnection$1 : removed call to net/bmahe/genetics4j/neat/Connection::toNodeIndex → KILLED
6. lambda$mutateConnection$1 : removed conditional - replaced equality check with false → KILLED
								&& connection.toNodeIndex() == newNodeValue);
70 3 1. mutateConnection : removed conditional - replaced equality check with false → KILLED
2. mutateConnection : removed conditional - replaced equality check with true → KILLED
3. mutateConnection : negated conditional → KILLED
		if (firstConnectionAlreadyExists == false) {
71 3 1. mutateConnection : removed call to net/bmahe/genetics4j/neat/Connection::fromNodeIndex → SURVIVED
2. mutateConnection : replaced call to net/bmahe/genetics4j/neat/InnovationManager::computeNewId with argument → KILLED
3. mutateConnection : removed call to net/bmahe/genetics4j/neat/InnovationManager::computeNewId → KILLED
			final int firstInnovation = innovationManager.computeNewId(oldConnection.fromNodeIndex(), newNodeValue);
72 1 1. mutateConnection : removed call to net/bmahe/genetics4j/neat/Connection::builder → KILLED
			final var firstConnection = Connection.builder()
73 3 1. mutateConnection : replaced call to net/bmahe/genetics4j/neat/Connection$Builder::from with receiver → KILLED
2. mutateConnection : removed call to net/bmahe/genetics4j/neat/Connection$Builder::from → KILLED
3. mutateConnection : Substituted 1.0 with 2.0 → KILLED
					.from(oldConnection)
74 2 1. mutateConnection : removed call to net/bmahe/genetics4j/neat/Connection$Builder::weight → KILLED
2. mutateConnection : replaced call to net/bmahe/genetics4j/neat/Connection$Builder::weight with receiver → KILLED
					.weight(1.0f)
75 2 1. mutateConnection : removed call to net/bmahe/genetics4j/neat/Connection$Builder::toNodeIndex → KILLED
2. mutateConnection : replaced call to net/bmahe/genetics4j/neat/Connection$Builder::toNodeIndex with receiver → KILLED
					.toNodeIndex(newNodeValue)
76 2 1. mutateConnection : removed call to net/bmahe/genetics4j/neat/Connection$Builder::innovation → KILLED
2. mutateConnection : replaced call to net/bmahe/genetics4j/neat/Connection$Builder::innovation with receiver → KILLED
					.innovation(firstInnovation)
77 1 1. mutateConnection : removed call to net/bmahe/genetics4j/neat/Connection$Builder::build → KILLED
					.build();
78 1 1. mutateConnection : removed call to java/util/List::add → KILLED
			connections.add(firstConnection);
79
		}
80
81 1 1. mutateConnection : removed call to net/bmahe/genetics4j/neat/chromosomes/NeatChromosome::getConnections → KILLED
		final boolean secondConnectionAlreadyExists = neatChromosome.getConnections()
82 1 1. mutateConnection : removed call to java/util/List::stream → KILLED
				.stream()
83 1 1. mutateConnection : removed call to java/util/stream/Stream::anyMatch → KILLED
				.anyMatch(
84 5 1. lambda$mutateConnection$2 : negated conditional → KILLED
2. lambda$mutateConnection$2 : removed conditional - replaced equality check with true → KILLED
3. lambda$mutateConnection$2 : replaced boolean return with true for net/bmahe/genetics4j/neat/mutation/chromosome/NeatChromosomeAddNodeMutationHandler::lambda$mutateConnection$2 → KILLED
4. lambda$mutateConnection$2 : removed conditional - replaced equality check with false → KILLED
5. lambda$mutateConnection$2 : removed call to net/bmahe/genetics4j/neat/Connection::fromNodeIndex → KILLED
						connection -> connection.fromNodeIndex() == newNodeValue
85 7 1. lambda$mutateConnection$2 : removed conditional - replaced equality check with true → SURVIVED
2. lambda$mutateConnection$2 : Substituted 1 with 0 → KILLED
3. lambda$mutateConnection$2 : negated conditional → KILLED
4. lambda$mutateConnection$2 : removed call to net/bmahe/genetics4j/neat/Connection::toNodeIndex → KILLED
5. lambda$mutateConnection$2 : removed conditional - replaced equality check with false → KILLED
6. lambda$mutateConnection$2 : removed call to net/bmahe/genetics4j/neat/Connection::toNodeIndex → KILLED
7. lambda$mutateConnection$2 : Substituted 0 with 1 → KILLED
								&& connection.toNodeIndex() == oldConnection.toNodeIndex());
86 3 1. mutateConnection : negated conditional → KILLED
2. mutateConnection : removed conditional - replaced equality check with false → KILLED
3. mutateConnection : removed conditional - replaced equality check with true → KILLED
		if (secondConnectionAlreadyExists == false) {
87 3 1. mutateConnection : removed call to net/bmahe/genetics4j/neat/Connection::toNodeIndex → SURVIVED
2. mutateConnection : replaced call to net/bmahe/genetics4j/neat/InnovationManager::computeNewId with argument → KILLED
3. mutateConnection : removed call to net/bmahe/genetics4j/neat/InnovationManager::computeNewId → KILLED
			final int secondInnovation = innovationManager.computeNewId(newNodeValue, oldConnection.toNodeIndex());
88 1 1. mutateConnection : removed call to net/bmahe/genetics4j/neat/Connection::builder → KILLED
			final var secondConnection = Connection.builder()
89 2 1. mutateConnection : removed call to net/bmahe/genetics4j/neat/Connection$Builder::from → KILLED
2. mutateConnection : replaced call to net/bmahe/genetics4j/neat/Connection$Builder::from with receiver → KILLED
					.from(oldConnection)
90 2 1. mutateConnection : removed call to net/bmahe/genetics4j/neat/Connection$Builder::fromNodeIndex → KILLED
2. mutateConnection : replaced call to net/bmahe/genetics4j/neat/Connection$Builder::fromNodeIndex with receiver → KILLED
					.fromNodeIndex(newNodeValue)
91 2 1. mutateConnection : replaced call to net/bmahe/genetics4j/neat/Connection$Builder::innovation with receiver → KILLED
2. mutateConnection : removed call to net/bmahe/genetics4j/neat/Connection$Builder::innovation → KILLED
					.innovation(secondInnovation)
92 1 1. mutateConnection : removed call to net/bmahe/genetics4j/neat/Connection$Builder::build → KILLED
					.build();
93 1 1. mutateConnection : removed call to java/util/List::add → KILLED
			connections.add(secondConnection);
94
		}
95
96 1 1. mutateConnection : replaced return value with Collections.emptyList for net/bmahe/genetics4j/neat/mutation/chromosome/NeatChromosomeAddNodeMutationHandler::mutateConnection → KILLED
		return connections;
97
	}
98
99
}

Mutations

22

1.1
Location : <init>
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest]/[method:doesNotSplitDisabledConnection()]
removed call to net/bmahe/genetics4j/neat/NodeIdManagerRegistry::<init> → KILLED

33

1.1
Location : <init>
Killed by : none
Removed assignment to member variable randomGenerator → SURVIVED
Covering tests

34

1.1
Location : <init>
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest]/[method:restoresOnlyMissingConnectionWhenPartOfAnExistingSplitWasDeleted()]
Removed assignment to member variable innovationManager → KILLED

35

1.1
Location : <init>
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest]/[method:restoresOnlyMissingConnectionWhenPartOfAnExistingSplitWasDeleted()]
Removed assignment to member variable nodeIdManagerRegistry → KILLED

46

1.1
Location : mutateConnection
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest]/[method:restoresOnlyMissingConnectionWhenPartOfAnExistingSplitWasDeleted()]
removed call to net/bmahe/genetics4j/neat/Connection::isEnabled → KILLED

2.2
Location : mutateConnection
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest]/[method:doesNotSplitDisabledConnection()]
removed conditional - replaced equality check with false → KILLED

3.3
Location : mutateConnection
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest]/[method:restoresOnlyMissingConnectionWhenPartOfAnExistingSplitWasDeleted()]
removed conditional - replaced equality check with true → KILLED

4.4
Location : mutateConnection
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest]/[method:doesNotSplitDisabledConnection()]
negated conditional → KILLED

47

1.1
Location : mutateConnection
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest]/[method:doesNotSplitDisabledConnection()]
removed call to net/bmahe/genetics4j/neat/Connection::copyOf → KILLED

2.2
Location : mutateConnection
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest]/[method:doesNotSplitDisabledConnection()]
replaced return value with Collections.emptyList for net/bmahe/genetics4j/neat/mutation/chromosome/NeatChromosomeAddNodeMutationHandler::mutateConnection → KILLED

3.3
Location : mutateConnection
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest]/[method:doesNotSplitDisabledConnection()]
removed call to java/util/List::of → KILLED

4.4
Location : mutateConnection
Killed by : none
replaced call to net/bmahe/genetics4j/neat/Connection::copyOf with argument → SURVIVED
Covering tests

50

1.1
Location : mutateConnection
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest]/[method:restoresOnlyMissingConnectionWhenPartOfAnExistingSplitWasDeleted()]
removed call to java/util/ArrayList::<init> → KILLED

52

1.1
Location : mutateConnection
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest]/[method:restoresOnlyMissingConnectionWhenPartOfAnExistingSplitWasDeleted()]
removed call to net/bmahe/genetics4j/neat/Connection$Builder::from → KILLED

2.2
Location : mutateConnection
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest]/[method:restoresOnlyMissingConnectionWhenPartOfAnExistingSplitWasDeleted()]
Substituted 0 with 1 → KILLED

3.3
Location : mutateConnection
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest]/[method:restoresOnlyMissingConnectionWhenPartOfAnExistingSplitWasDeleted()]
replaced call to net/bmahe/genetics4j/neat/Connection$Builder::from with receiver → KILLED

4.4
Location : mutateConnection
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest]/[method:restoresOnlyMissingConnectionWhenPartOfAnExistingSplitWasDeleted()]
removed call to net/bmahe/genetics4j/neat/Connection::builder → KILLED

5.5
Location : mutateConnection
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest]/[method:restoresOnlyMissingConnectionWhenPartOfAnExistingSplitWasDeleted()]
replaced call to net/bmahe/genetics4j/neat/Connection$Builder::isEnabled with receiver → KILLED

6.6
Location : mutateConnection
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest]/[method:restoresOnlyMissingConnectionWhenPartOfAnExistingSplitWasDeleted()]
removed call to net/bmahe/genetics4j/neat/Connection$Builder::isEnabled → KILLED

7.7
Location : mutateConnection
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest]/[method:restoresOnlyMissingConnectionWhenPartOfAnExistingSplitWasDeleted()]
removed call to net/bmahe/genetics4j/neat/Connection$Builder::build → KILLED

54

1.1
Location : mutateConnection
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest]/[method:restoresOnlyMissingConnectionWhenPartOfAnExistingSplitWasDeleted()]
removed call to net/bmahe/genetics4j/neat/chromosomes/NeatChromosome::getNodeLayout → KILLED

2.2
Location : mutateConnection
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest]/[method:restoresOnlyMissingConnectionWhenPartOfAnExistingSplitWasDeleted()]
removed call to net/bmahe/genetics4j/neat/NodeIdManagerRegistry::managerFor → KILLED

55

1.1
Location : mutateConnection
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest]/[method:mutateConnection()]
removed call to net/bmahe/genetics4j/neat/NodeIdManager::registerExistingNodeIds → KILLED

56

1.1
Location : mutateConnection
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest]/[method:restoresOnlyMissingConnectionWhenPartOfAnExistingSplitWasDeleted()]
removed call to net/bmahe/genetics4j/neat/chromosomes/NeatChromosome::getConnections → KILLED

57

1.1
Location : mutateConnection
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest]/[method:restoresOnlyMissingConnectionWhenPartOfAnExistingSplitWasDeleted()]
removed call to java/util/List::stream → KILLED

58

1.1
Location : mutateConnection
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest]/[method:restoresOnlyMissingConnectionWhenPartOfAnExistingSplitWasDeleted()]
replaced call to java/util/stream/Stream::flatMap with receiver → KILLED

2.2
Location : mutateConnection
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest]/[method:restoresOnlyMissingConnectionWhenPartOfAnExistingSplitWasDeleted()]
removed call to java/util/stream/Stream::flatMap → KILLED

59

1.1
Location : lambda$mutateConnection$0
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest]/[method:restoresOnlyMissingConnectionWhenPartOfAnExistingSplitWasDeleted()]
removed call to java/lang/Integer::valueOf → KILLED

2.2
Location : lambda$mutateConnection$0
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest]/[method:mutateConnection()]
removed call to java/util/stream/Stream::of → KILLED

3.3
Location : lambda$mutateConnection$0
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest]/[method:restoresOnlyMissingConnectionWhenPartOfAnExistingSplitWasDeleted()]
Substituted 0 with 1 → KILLED

4.4
Location : lambda$mutateConnection$0
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.SparseStructuralMutationTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.SparseStructuralMutationTest]/[method:homologousSplitsAcrossChromosomesReuseHiddenNodeId()]
removed call to net/bmahe/genetics4j/neat/Connection::toNodeIndex → KILLED

5.5
Location : lambda$mutateConnection$0
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest]/[method:restoresOnlyMissingConnectionWhenPartOfAnExistingSplitWasDeleted()]
removed call to java/lang/Integer::valueOf → KILLED

6.6
Location : lambda$mutateConnection$0
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest]/[method:restoresOnlyMissingConnectionWhenPartOfAnExistingSplitWasDeleted()]
Substituted 1 with 0 → KILLED

7.7
Location : lambda$mutateConnection$0
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.SparseStructuralMutationTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.SparseStructuralMutationTest]/[method:homologousSplitsAcrossChromosomesReuseHiddenNodeId()]
removed call to net/bmahe/genetics4j/neat/Connection::fromNodeIndex → KILLED

8.8
Location : lambda$mutateConnection$0
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest]/[method:mutateConnection()]
replaced return value with Stream.empty for net/bmahe/genetics4j/neat/mutation/chromosome/NeatChromosomeAddNodeMutationHandler::lambda$mutateConnection$0 → KILLED

9.9
Location : lambda$mutateConnection$0
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest]/[method:restoresOnlyMissingConnectionWhenPartOfAnExistingSplitWasDeleted()]
Substituted 2 with 3 → KILLED

60

1.1
Location : mutateConnection
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest]/[method:restoresOnlyMissingConnectionWhenPartOfAnExistingSplitWasDeleted()]
removed call to java/util/stream/Stream::toList → KILLED

61

1.1
Location : mutateConnection
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest]/[method:restoresOnlyMissingConnectionWhenPartOfAnExistingSplitWasDeleted()]
replaced call to net/bmahe/genetics4j/neat/NodeIdManager::nodeIdForSplit with argument → KILLED

2.2
Location : mutateConnection
Killed by : none
removed call to net/bmahe/genetics4j/neat/Connection::innovation → SURVIVED
Covering tests

3.3
Location : mutateConnection
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest]/[method:restoresOnlyMissingConnectionWhenPartOfAnExistingSplitWasDeleted()]
removed call to net/bmahe/genetics4j/neat/NodeIdManager::nodeIdForSplit → KILLED

63

1.1
Location : mutateConnection
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest]/[method:restoresOnlyMissingConnectionWhenPartOfAnExistingSplitWasDeleted()]
removed call to java/util/List::add → KILLED

65

1.1
Location : mutateConnection
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest]/[method:restoresOnlyMissingConnectionWhenPartOfAnExistingSplitWasDeleted()]
removed call to net/bmahe/genetics4j/neat/chromosomes/NeatChromosome::getConnections → KILLED

66

1.1
Location : mutateConnection
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest]/[method:restoresOnlyMissingConnectionWhenPartOfAnExistingSplitWasDeleted()]
removed call to java/util/List::stream → KILLED

67

1.1
Location : mutateConnection
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest]/[method:restoresOnlyMissingConnectionWhenPartOfAnExistingSplitWasDeleted()]
removed call to java/util/stream/Stream::anyMatch → KILLED

68

1.1
Location : lambda$mutateConnection$1
Killed by : none
removed conditional - replaced equality check with true → SURVIVED
Covering tests

2.2
Location : lambda$mutateConnection$1
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest]/[method:restoresOnlyMissingConnectionWhenPartOfAnExistingSplitWasDeleted()]
removed conditional - replaced equality check with false → KILLED

3.3
Location : lambda$mutateConnection$1
Killed by : none
removed call to net/bmahe/genetics4j/neat/Connection::fromNodeIndex → SURVIVED Covering tests

4.4
Location : lambda$mutateConnection$1
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest]/[method:restoresOnlyMissingConnectionWhenPartOfAnExistingSplitWasDeleted()]
replaced boolean return with true for net/bmahe/genetics4j/neat/mutation/chromosome/NeatChromosomeAddNodeMutationHandler::lambda$mutateConnection$1 → KILLED

5.5
Location : lambda$mutateConnection$1
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest]/[method:restoresOnlyMissingConnectionWhenPartOfAnExistingSplitWasDeleted()]
negated conditional → KILLED

6.6
Location : lambda$mutateConnection$1
Killed by : none
removed call to net/bmahe/genetics4j/neat/Connection::fromNodeIndex → SURVIVED Covering tests

69

1.1
Location : lambda$mutateConnection$1
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest]/[method:restoresOnlyMissingConnectionWhenPartOfAnExistingSplitWasDeleted()]
Substituted 0 with 1 → KILLED

2.2
Location : lambda$mutateConnection$1
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest]/[method:restoresOnlyMissingConnectionWhenPartOfAnExistingSplitWasDeleted()]
negated conditional → KILLED

3.3
Location : lambda$mutateConnection$1
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest]/[method:restoresOnlyMissingConnectionWhenPartOfAnExistingSplitWasDeleted()]
removed conditional - replaced equality check with true → KILLED

4.4
Location : lambda$mutateConnection$1
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest]/[method:restoresOnlyMissingConnectionWhenPartOfAnExistingSplitWasDeleted()]
Substituted 1 with 0 → KILLED

5.5
Location : lambda$mutateConnection$1
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest]/[method:restoresOnlyMissingConnectionWhenPartOfAnExistingSplitWasDeleted()]
removed call to net/bmahe/genetics4j/neat/Connection::toNodeIndex → KILLED

6.6
Location : lambda$mutateConnection$1
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest]/[method:restoresOnlyMissingConnectionWhenPartOfAnExistingSplitWasDeleted()]
removed conditional - replaced equality check with false → KILLED

70

1.1
Location : mutateConnection
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest]/[method:restoresOnlyMissingConnectionWhenPartOfAnExistingSplitWasDeleted()]
removed conditional - replaced equality check with false → KILLED

2.2
Location : mutateConnection
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest]/[method:restoresOnlyMissingConnectionWhenPartOfAnExistingSplitWasDeleted()]
removed conditional - replaced equality check with true → KILLED

3.3
Location : mutateConnection
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest]/[method:restoresOnlyMissingConnectionWhenPartOfAnExistingSplitWasDeleted()]
negated conditional → KILLED

71

1.1
Location : mutateConnection
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest]/[method:mutateConnection()]
replaced call to net/bmahe/genetics4j/neat/InnovationManager::computeNewId with argument → KILLED

2.2
Location : mutateConnection
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest]/[method:mutateConnection()]
removed call to net/bmahe/genetics4j/neat/InnovationManager::computeNewId → KILLED

3.3
Location : mutateConnection
Killed by : none
removed call to net/bmahe/genetics4j/neat/Connection::fromNodeIndex → SURVIVED
Covering tests

72

1.1
Location : mutateConnection
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest]/[method:restoresOnlyMissingConnectionWhenPartOfAnExistingSplitWasDeleted()]
removed call to net/bmahe/genetics4j/neat/Connection::builder → KILLED

73

1.1
Location : mutateConnection
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest]/[method:restoresOnlyMissingConnectionWhenPartOfAnExistingSplitWasDeleted()]
replaced call to net/bmahe/genetics4j/neat/Connection$Builder::from with receiver → KILLED

2.2
Location : mutateConnection
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest]/[method:restoresOnlyMissingConnectionWhenPartOfAnExistingSplitWasDeleted()]
removed call to net/bmahe/genetics4j/neat/Connection$Builder::from → KILLED

3.3
Location : mutateConnection
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest]/[method:mutateConnection()]
Substituted 1.0 with 2.0 → KILLED

74

1.1
Location : mutateConnection
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest]/[method:restoresOnlyMissingConnectionWhenPartOfAnExistingSplitWasDeleted()]
removed call to net/bmahe/genetics4j/neat/Connection$Builder::weight → KILLED

2.2
Location : mutateConnection
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest]/[method:mutateConnection()]
replaced call to net/bmahe/genetics4j/neat/Connection$Builder::weight with receiver → KILLED

75

1.1
Location : mutateConnection
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest]/[method:restoresOnlyMissingConnectionWhenPartOfAnExistingSplitWasDeleted()]
removed call to net/bmahe/genetics4j/neat/Connection$Builder::toNodeIndex → KILLED

2.2
Location : mutateConnection
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest]/[method:restoresOnlyMissingConnectionWhenPartOfAnExistingSplitWasDeleted()]
replaced call to net/bmahe/genetics4j/neat/Connection$Builder::toNodeIndex with receiver → KILLED

76

1.1
Location : mutateConnection
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest]/[method:restoresOnlyMissingConnectionWhenPartOfAnExistingSplitWasDeleted()]
removed call to net/bmahe/genetics4j/neat/Connection$Builder::innovation → KILLED

2.2
Location : mutateConnection
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest]/[method:mutateConnection()]
replaced call to net/bmahe/genetics4j/neat/Connection$Builder::innovation with receiver → KILLED

77

1.1
Location : mutateConnection
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest]/[method:restoresOnlyMissingConnectionWhenPartOfAnExistingSplitWasDeleted()]
removed call to net/bmahe/genetics4j/neat/Connection$Builder::build → KILLED

78

1.1
Location : mutateConnection
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest]/[method:restoresOnlyMissingConnectionWhenPartOfAnExistingSplitWasDeleted()]
removed call to java/util/List::add → KILLED

81

1.1
Location : mutateConnection
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest]/[method:restoresOnlyMissingConnectionWhenPartOfAnExistingSplitWasDeleted()]
removed call to net/bmahe/genetics4j/neat/chromosomes/NeatChromosome::getConnections → KILLED

82

1.1
Location : mutateConnection
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest]/[method:restoresOnlyMissingConnectionWhenPartOfAnExistingSplitWasDeleted()]
removed call to java/util/List::stream → KILLED

83

1.1
Location : mutateConnection
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest]/[method:restoresOnlyMissingConnectionWhenPartOfAnExistingSplitWasDeleted()]
removed call to java/util/stream/Stream::anyMatch → KILLED

84

1.1
Location : lambda$mutateConnection$2
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest]/[method:restoresOnlyMissingConnectionWhenPartOfAnExistingSplitWasDeleted()]
negated conditional → KILLED

2.2
Location : lambda$mutateConnection$2
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest]/[method:restoresOnlyMissingConnectionWhenPartOfAnExistingSplitWasDeleted()]
removed conditional - replaced equality check with true → KILLED

3.3
Location : lambda$mutateConnection$2
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest]/[method:restoresOnlyMissingConnectionWhenPartOfAnExistingSplitWasDeleted()]
replaced boolean return with true for net/bmahe/genetics4j/neat/mutation/chromosome/NeatChromosomeAddNodeMutationHandler::lambda$mutateConnection$2 → KILLED

4.4
Location : lambda$mutateConnection$2
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest]/[method:restoresOnlyMissingConnectionWhenPartOfAnExistingSplitWasDeleted()]
removed conditional - replaced equality check with false → KILLED

5.5
Location : lambda$mutateConnection$2
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest]/[method:restoresOnlyMissingConnectionWhenPartOfAnExistingSplitWasDeleted()]
removed call to net/bmahe/genetics4j/neat/Connection::fromNodeIndex → KILLED

85

1.1
Location : lambda$mutateConnection$2
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest]/[method:restoresOnlyMissingConnectionWhenPartOfAnExistingSplitWasDeleted()]
Substituted 1 with 0 → KILLED

2.2
Location : lambda$mutateConnection$2
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest]/[method:restoresOnlyMissingConnectionWhenPartOfAnExistingSplitWasDeleted()]
negated conditional → KILLED

3.3
Location : lambda$mutateConnection$2
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest]/[method:restoresOnlyMissingConnectionWhenPartOfAnExistingSplitWasDeleted()]
removed call to net/bmahe/genetics4j/neat/Connection::toNodeIndex → KILLED

4.4
Location : lambda$mutateConnection$2
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest]/[method:restoresOnlyMissingConnectionWhenPartOfAnExistingSplitWasDeleted()]
removed conditional - replaced equality check with false → KILLED

5.5
Location : lambda$mutateConnection$2
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest]/[method:restoresOnlyMissingConnectionWhenPartOfAnExistingSplitWasDeleted()]
removed call to net/bmahe/genetics4j/neat/Connection::toNodeIndex → KILLED

6.6
Location : lambda$mutateConnection$2
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest]/[method:restoresOnlyMissingConnectionWhenPartOfAnExistingSplitWasDeleted()]
Substituted 0 with 1 → KILLED

7.7
Location : lambda$mutateConnection$2
Killed by : none
removed conditional - replaced equality check with true → SURVIVED
Covering tests

86

1.1
Location : mutateConnection
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest]/[method:restoresOnlyMissingConnectionWhenPartOfAnExistingSplitWasDeleted()]
negated conditional → KILLED

2.2
Location : mutateConnection
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest]/[method:restoresOnlyMissingConnectionWhenPartOfAnExistingSplitWasDeleted()]
removed conditional - replaced equality check with false → KILLED

3.3
Location : mutateConnection
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest]/[method:restoresOnlyMissingConnectionWhenPartOfAnExistingSplitWasDeleted()]
removed conditional - replaced equality check with true → KILLED

87

1.1
Location : mutateConnection
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest]/[method:mutateConnection()]
replaced call to net/bmahe/genetics4j/neat/InnovationManager::computeNewId with argument → KILLED

2.2
Location : mutateConnection
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest]/[method:mutateConnection()]
removed call to net/bmahe/genetics4j/neat/InnovationManager::computeNewId → KILLED

3.3
Location : mutateConnection
Killed by : none
removed call to net/bmahe/genetics4j/neat/Connection::toNodeIndex → SURVIVED
Covering tests

88

1.1
Location : mutateConnection
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest]/[method:restoresOnlyMissingConnectionWhenPartOfAnExistingSplitWasDeleted()]
removed call to net/bmahe/genetics4j/neat/Connection::builder → KILLED

89

1.1
Location : mutateConnection
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest]/[method:restoresOnlyMissingConnectionWhenPartOfAnExistingSplitWasDeleted()]
removed call to net/bmahe/genetics4j/neat/Connection$Builder::from → KILLED

2.2
Location : mutateConnection
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest]/[method:restoresOnlyMissingConnectionWhenPartOfAnExistingSplitWasDeleted()]
replaced call to net/bmahe/genetics4j/neat/Connection$Builder::from with receiver → KILLED

90

1.1
Location : mutateConnection
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest]/[method:restoresOnlyMissingConnectionWhenPartOfAnExistingSplitWasDeleted()]
removed call to net/bmahe/genetics4j/neat/Connection$Builder::fromNodeIndex → KILLED

2.2
Location : mutateConnection
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest]/[method:restoresOnlyMissingConnectionWhenPartOfAnExistingSplitWasDeleted()]
replaced call to net/bmahe/genetics4j/neat/Connection$Builder::fromNodeIndex with receiver → KILLED

91

1.1
Location : mutateConnection
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest]/[method:mutateConnection()]
replaced call to net/bmahe/genetics4j/neat/Connection$Builder::innovation with receiver → KILLED

2.2
Location : mutateConnection
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest]/[method:restoresOnlyMissingConnectionWhenPartOfAnExistingSplitWasDeleted()]
removed call to net/bmahe/genetics4j/neat/Connection$Builder::innovation → KILLED

92

1.1
Location : mutateConnection
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest]/[method:restoresOnlyMissingConnectionWhenPartOfAnExistingSplitWasDeleted()]
removed call to net/bmahe/genetics4j/neat/Connection$Builder::build → KILLED

93

1.1
Location : mutateConnection
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest]/[method:restoresOnlyMissingConnectionWhenPartOfAnExistingSplitWasDeleted()]
removed call to java/util/List::add → KILLED

96

1.1
Location : mutateConnection
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandlerTest]/[method:restoresOnlyMissingConnectionWhenPartOfAnExistingSplitWasDeleted()]
replaced return value with Collections.emptyList for net/bmahe/genetics4j/neat/mutation/chromosome/NeatChromosomeAddNodeMutationHandler::mutateConnection → KILLED

Active mutators

Tests examined


Report generated by PIT 1.23.1 support