NeatChromosome.java

1
package net.bmahe.genetics4j.neat.chromosomes;
2
3
import java.util.ArrayList;
4
import java.util.Collections;
5
import java.util.Comparator;
6
import java.util.List;
7
import java.util.Objects;
8
import java.util.Set;
9
10
import org.apache.commons.lang3.Validate;
11
12
import net.bmahe.genetics4j.core.chromosomes.Chromosome;
13
import net.bmahe.genetics4j.neat.Connection;
14
import net.bmahe.genetics4j.neat.spec.NeatNodeLayout;
15
16
/**
17
 * Represents a neural network chromosome in the NEAT (NeuroEvolution of Augmenting Topologies) algorithm.
18
 * 
19
 * <p>NeatChromosome is the core genetic representation in NEAT, encoding a neural network as a collection of
20
 * connections between nodes. Each chromosome defines a complete neural network topology with input nodes, output nodes,
21
 * optional hidden nodes, and weighted connections. The chromosome maintains essential parameters for network
22
 * construction and genetic operations.
23
 * 
24
 * <p>Key characteristics:
25
 * <ul>
26
 * <li><strong>Network topology</strong>: Encoded as a list of connections with innovation numbers</li>
27
 * <li><strong>Node organization</strong>: Fixed input/output nodes with dynamically added hidden nodes</li>
28
 * <li><strong>Weight constraints</strong>: Configurable minimum and maximum weight bounds</li>
29
 * <li><strong>Innovation tracking</strong>: Connections sorted by innovation number for genetic alignment</li>
30
 * </ul>
31
 * 
32
 * <p>NEAT algorithm integration:
33
 * <ul>
34
 * <li><strong>Structural mutations</strong>: Add/delete nodes and connections while preserving innovation tracking</li>
35
 * <li><strong>Weight mutations</strong>: Modify connection weights within specified bounds</li>
36
 * <li><strong>Genetic crossover</strong>: Innovation-number-based gene alignment for topology recombination</li>
37
 * <li><strong>Compatibility distance</strong>: Genetic similarity measurement for speciation</li>
38
 * </ul>
39
 * 
40
 * <p>Network structure:
41
 * <ul>
42
 * <li><strong>Input and output nodes</strong>: Stable ordered IDs declared by the node layout</li>
43
 * <li><strong>Hidden nodes</strong>: IDs allocated from the layout's hidden-node namespace</li>
44
 * <li><strong>Connections</strong>: Weighted links between nodes with enable/disable states and innovation numbers</li>
45
 * </ul>
46
 * 
47
 * <p>Common usage patterns:
48
 * 
49
 * <pre>{@code
50
 * // Create a basic NEAT chromosome
51
 * List<Connection> connections = List.of(
52
 * 		Connection.of(0, 2, 0.5f, true, 0), // input 0 -> output 0
53
 * 			Connection.of(1, 3, -0.3f, true, 1) // input 1 -> output 1
54
 * );
55
 * 
56
 * NeatChromosome chromosome = new NeatChromosome(2, // number of inputs
57
 * 		2, // number of outputs
58
 * 		-1.0f, // minimum weight
59
 * 		1.0f, // maximum weight
60
 * 		connections);
61
 * 
62
 * // Access chromosome properties
63
 * int numAlleles = chromosome.getNumAlleles();
64
 * List<Integer> inputNodes = chromosome.getInputNodeIds();
65
 * List<Integer> outputNodes = chromosome.getOutputNodeIds();
66
 * List<Connection> allConnections = chromosome.getConnections();
67
 * 
68
 * // Create feed-forward network for evaluation
69
 * FeedForwardNetwork network = new FeedForwardNetwork(Set.copyOf(chromosome.getInputNodeIds()),
70
 * 		Set.copyOf(chromosome.getOutputNodeIds()),
71
 * 		chromosome.getConnections(),
72
 * 		Activations::sigmoid);
73
 * }</pre>
74
 * 
75
 * <p>Genetic operations compatibility:
76
 * <ul>
77
 * <li><strong>Mutation operations</strong>: Compatible with weight, add-node, add-connection, and state mutations</li>
78
 * <li><strong>Crossover operations</strong>: Innovation numbers enable proper gene alignment between parents</li>
79
 * <li><strong>Selection operations</strong>: Supports species-based selection through compatibility distance</li>
80
 * <li><strong>Evaluation operations</strong>: Can be converted to executable neural networks</li>
81
 * </ul>
82
 * 
83
 * <p>Innovation number organization:
84
 * <ul>
85
 * <li><strong>Sorted connections</strong>: Connections automatically sorted by innovation number</li>
86
 * <li><strong>Genetic alignment</strong>: Enables efficient crossover and compatibility calculations</li>
87
 * <li><strong>Historical tracking</strong>: Maintains evolutionary history of structural changes</li>
88
 * <li><strong>Population consistency</strong>: Same innovation numbers across population for same connection types</li>
89
 * </ul>
90
 * 
91
 * <p>Performance considerations:
92
 * <ul>
93
 * <li><strong>Immutable connections</strong>: Connection list is sorted once and made immutable</li>
94
 * <li><strong>Efficient lookup</strong>: Node indices computed deterministically for fast access</li>
95
 * <li><strong>Memory efficiency</strong>: Only stores necessary network topology information</li>
96
 * <li><strong>Cache-friendly</strong>: Sorted connections improve cache locality for genetic operations</li>
97
 * </ul>
98
 * 
99
 * <p>Integration with NEAT ecosystem:
100
 * <ul>
101
 * <li><strong>Chromosome factories</strong>: Created by NeatConnectedChromosomeFactory and similar</li>
102
 * <li><strong>Genetic operators</strong>: Processed by NEAT-specific mutation and crossover handlers</li>
103
 * <li><strong>Network evaluation</strong>: Converted to FeedForwardNetwork for fitness computation</li>
104
 * <li><strong>Speciation</strong>: Used in compatibility distance calculations for species formation</li>
105
 * </ul>
106
 * 
107
 * @see Connection
108
 * @see FeedForwardNetwork
109
 * @see net.bmahe.genetics4j.neat.RecurrentNetwork
110
 * @see InnovationManager
111
 * @see net.bmahe.genetics4j.neat.spec.NeatChromosomeSpec
112
 */
113
public class NeatChromosome implements Chromosome {
114
115
	private final NeatNodeLayout nodeLayout;
116
	private final float minWeightValue;
117
	private final float maxWeightValue;
118
	private final List<Connection> connections;
119
120
	/**
121
	 * Constructs a new NEAT chromosome with the specified network topology and parameters.
122
	 * 
123
	 * <p>This constructor creates an immutable neural network chromosome by copying and sorting the provided connections
124
	 * by their innovation numbers. The sorting ensures efficient genetic operations and proper gene alignment during
125
	 * crossover operations.
126
	 * 
127
	 * <p>Network structure validation:
128
	 * <ul>
129
	 * <li>The node layout must be valid</li>
130
	 * <li>Weight bounds must be properly ordered (min &lt; max)</li>
131
	 * <li>Connections list must not be null (but can be empty)</li>
132
	 * <li>Connection endpoints must belong to the external or hidden-node namespaces</li>
133
	 * </ul>
134
	 * 
135
	 * @param _nodeLayout     stable external IDs and hidden-node namespace
136
	 * @param _minWeightValue minimum allowed connection weight value
137
	 * @param _maxWeightValue maximum allowed connection weight value (must be &gt; minWeightValue)
138
	 * @param _connections    list of network connections (will be copied and sorted by innovation number)
139
	 * @throws IllegalArgumentException if minWeightValue &gt;= maxWeightValue
140
	 */
141
	public NeatChromosome(final NeatNodeLayout _nodeLayout,
142
			final float _minWeightValue,
143
			final float _maxWeightValue,
144
			final List<Connection> _connections) {
145
		Validate.notNull(_nodeLayout);
146
		Validate.isTrue(_minWeightValue < _maxWeightValue);
147
		Validate.notNull(_connections);
148
		for (final Connection connection : _connections) {
149
			Validate.notNull(connection);
150
			Validate.isTrue(
151 12 1. <init> : Substituted 0 with 1 → NO_COVERAGE
2. <init> : removed conditional - replaced equality check with true → SURVIVED
3. <init> : removed conditional - replaced equality check with false → SURVIVED
4. <init> : Substituted 1 with 0 → KILLED
5. <init> : removed call to net/bmahe/genetics4j/neat/spec/NeatNodeLayout::isExternal → KILLED
6. <init> : removed call to net/bmahe/genetics4j/neat/Connection::fromNodeIndex → KILLED
7. <init> : removed call to net/bmahe/genetics4j/neat/Connection::fromNodeIndex → KILLED
8. <init> : negated conditional → KILLED
9. <init> : removed conditional - replaced equality check with true → KILLED
10. <init> : removed conditional - replaced equality check with false → KILLED
11. <init> : negated conditional → KILLED
12. <init> : removed call to net/bmahe/genetics4j/neat/spec/NeatNodeLayout::isHidden → KILLED
					_nodeLayout.isExternal(connection.fromNodeIndex()) || _nodeLayout.isHidden(connection.fromNodeIndex()),
152
						"Connection source node %d is outside the node layout",
153 1 1. <init> : removed call to net/bmahe/genetics4j/neat/Connection::fromNodeIndex → SURVIVED
						connection.fromNodeIndex());
154
			Validate.isTrue(
155 12 1. <init> : removed call to net/bmahe/genetics4j/neat/spec/NeatNodeLayout::isHidden → KILLED
2. <init> : negated conditional → KILLED
3. <init> : removed conditional - replaced equality check with false → KILLED
4. <init> : removed call to net/bmahe/genetics4j/neat/spec/NeatNodeLayout::isExternal → KILLED
5. <init> : removed call to net/bmahe/genetics4j/neat/Connection::toNodeIndex → KILLED
6. <init> : negated conditional → KILLED
7. <init> : removed call to net/bmahe/genetics4j/neat/Connection::toNodeIndex → KILLED
8. <init> : removed conditional - replaced equality check with true → KILLED
9. <init> : Substituted 1 with 0 → KILLED
10. <init> : removed conditional - replaced equality check with true → KILLED
11. <init> : removed conditional - replaced equality check with false → KILLED
12. <init> : Substituted 0 with 1 → KILLED
					_nodeLayout.isExternal(connection.toNodeIndex()) || _nodeLayout.isHidden(connection.toNodeIndex()),
156
						"Connection target node %d is outside the node layout",
157 1 1. <init> : removed call to net/bmahe/genetics4j/neat/Connection::toNodeIndex → SURVIVED
						connection.toNodeIndex());
158
		}
159
160 1 1. <init> : Removed assignment to member variable nodeLayout → KILLED
		this.nodeLayout = _nodeLayout;
161 1 1. <init> : Removed assignment to member variable minWeightValue → KILLED
		this.minWeightValue = _minWeightValue;
162 1 1. <init> : Removed assignment to member variable maxWeightValue → KILLED
		this.maxWeightValue = _maxWeightValue;
163
164 1 1. <init> : removed call to java/util/ArrayList::<init> → KILLED
		final List<Connection> copyOfConnections = new ArrayList<>(_connections);
165 2 1. <init> : removed call to java/util/Collections::sort → KILLED
2. <init> : removed call to java/util/Comparator::comparing → KILLED
		Collections.sort(copyOfConnections, Comparator.comparing(Connection::innovation));
166 3 1. <init> : replaced call to java/util/Collections::unmodifiableList with argument → SURVIVED
2. <init> : removed call to java/util/Collections::unmodifiableList → KILLED
3. <init> : Removed assignment to member variable connections → KILLED
		this.connections = Collections.unmodifiableList(copyOfConnections);
167
	}
168
169
	/** Convenience constructor for the traditional contiguous node layout. */
170
	public NeatChromosome(final int numInputs,
171
			final int numOutputs,
172
			final float minWeightValue,
173
			final float maxWeightValue,
174
			final List<Connection> connections) {
175 1 1. <init> : removed call to net/bmahe/genetics4j/neat/spec/NeatNodeLayout::contiguous → KILLED
		this(NeatNodeLayout.contiguous(numInputs, numOutputs), minWeightValue, maxWeightValue, connections);
176
	}
177
178
	/**
179
	 * Returns the total number of alleles (genetic components) in this chromosome.
180
	 * 
181
	 * <p>For NEAT chromosomes, the allele count includes:
182
	 * <ul>
183
	 * <li>Input nodes: Each input node represents one allele</li>
184
	 * <li>Output nodes: Each output node represents one allele</li>
185
	 * <li>Connections: Each connection (with its weight and state) represents one allele</li>
186
	 * </ul>
187
	 * 
188
	 * <p>Hidden nodes are not counted separately as they are implicit in the connection structure. This count is used by
189
	 * the genetic algorithm framework for population statistics and compatibility calculations.
190
	 * 
191
	 * @return the total number of alleles in this chromosome
192
	 */
193
	@Override
194
	public int getNumAlleles() {
195 6 1. getNumAlleles : removed call to net/bmahe/genetics4j/neat/spec/NeatNodeLayout::numOutputs → KILLED
2. getNumAlleles : replaced int return with 0 for net/bmahe/genetics4j/neat/chromosomes/NeatChromosome::getNumAlleles → KILLED
3. getNumAlleles : removed call to java/util/List::size → KILLED
4. getNumAlleles : removed call to net/bmahe/genetics4j/neat/spec/NeatNodeLayout::numInputs → KILLED
5. getNumAlleles : Replaced integer addition with subtraction → KILLED
6. getNumAlleles : Replaced integer addition with subtraction → KILLED
		return nodeLayout.numInputs() + nodeLayout.numOutputs() + connections.size();
196
	}
197
198
	/**
199
	 * Returns the number of input nodes in this neural network.
200
	 * 
201
	 * <p>Input nodes are the ordered entry points declared by the node layout.
202
	 * 
203
	 * @return the number of input nodes (always positive)
204
	 */
205
	public int getNumInputs() {
206 2 1. getNumInputs : removed call to net/bmahe/genetics4j/neat/spec/NeatNodeLayout::numInputs → KILLED
2. getNumInputs : replaced int return with 0 for net/bmahe/genetics4j/neat/chromosomes/NeatChromosome::getNumInputs → KILLED
		return nodeLayout.numInputs();
207
	}
208
209
	/**
210
	 * Returns the number of output nodes in this neural network.
211
	 * 
212
	 * <p>Output nodes are the ordered result nodes declared by the node layout.
213
	 * 
214
	 * @return the number of output nodes (always positive)
215
	 */
216
	public int getNumOutputs() {
217 2 1. getNumOutputs : replaced int return with 0 for net/bmahe/genetics4j/neat/chromosomes/NeatChromosome::getNumOutputs → KILLED
2. getNumOutputs : removed call to net/bmahe/genetics4j/neat/spec/NeatNodeLayout::numOutputs → KILLED
		return nodeLayout.numOutputs();
218
	}
219
220
	public NeatNodeLayout getNodeLayout() {
221 1 1. getNodeLayout : replaced return value with null for net/bmahe/genetics4j/neat/chromosomes/NeatChromosome::getNodeLayout → KILLED
		return nodeLayout;
222
	}
223
224
	/** Returns input node IDs in their declared vector order. */
225
	public List<Integer> getInputNodeIds() {
226 2 1. getInputNodeIds : removed call to net/bmahe/genetics4j/neat/spec/NeatNodeLayout::inputNodeIds → KILLED
2. getInputNodeIds : replaced return value with Collections.emptyList for net/bmahe/genetics4j/neat/chromosomes/NeatChromosome::getInputNodeIds → KILLED
		return nodeLayout.inputNodeIds();
227
	}
228
229
	/** Returns output node IDs in their declared vector order. */
230
	public List<Integer> getOutputNodeIds() {
231 2 1. getOutputNodeIds : replaced return value with Collections.emptyList for net/bmahe/genetics4j/neat/chromosomes/NeatChromosome::getOutputNodeIds → KILLED
2. getOutputNodeIds : removed call to net/bmahe/genetics4j/neat/spec/NeatNodeLayout::outputNodeIds → KILLED
		return nodeLayout.outputNodeIds();
232
	}
233
234
	/**
235
	 * Returns the minimum allowed connection weight value for this network.
236
	 * 
237
	 * <p>This bound is used by mutation operators to constrain weight perturbations and ensure that connection weights
238
	 * remain within reasonable ranges. Weight mutations should respect this bound to maintain network stability.
239
	 * 
240
	 * @return the minimum allowed connection weight
241
	 */
242
	public float getMinWeightValue() {
243 1 1. getMinWeightValue : replaced float return with 0.0f for net/bmahe/genetics4j/neat/chromosomes/NeatChromosome::getMinWeightValue → KILLED
		return minWeightValue;
244
	}
245
246
	/**
247
	 * Returns the maximum allowed connection weight value for this network.
248
	 * 
249
	 * <p>This bound is used by mutation operators to constrain weight perturbations and ensure that connection weights
250
	 * remain within reasonable ranges. Weight mutations should respect this bound to maintain network stability.
251
	 * 
252
	 * @return the maximum allowed connection weight
253
	 */
254
	public float getMaxWeightValue() {
255 1 1. getMaxWeightValue : replaced float return with 0.0f for net/bmahe/genetics4j/neat/chromosomes/NeatChromosome::getMaxWeightValue → KILLED
		return maxWeightValue;
256
	}
257
258
	/**
259
	 * Returns an immutable list of all connections in this neural network.
260
	 * 
261
	 * <p>The connections are sorted by innovation number to ensure consistent ordering for genetic operations. Each
262
	 * connection defines a weighted link between two nodes and includes an enabled/disabled state for topology
263
	 * exploration.
264
	 * 
265
	 * <p>Connection properties:
266
	 * <ul>
267
	 * <li><strong>Immutable ordering</strong>: Connections are sorted by innovation number</li>
268
	 * <li><strong>Complete topology</strong>: Includes both enabled and disabled connections</li>
269
	 * <li><strong>Genetic information</strong>: Each connection carries innovation tracking data</li>
270
	 * <li><strong>Network structure</strong>: Defines the complete computational graph</li>
271
	 * </ul>
272
	 * 
273
	 * @return immutable list of network connections, sorted by innovation number
274
	 */
275
	public List<Connection> getConnections() {
276 1 1. getConnections : replaced return value with Collections.emptyList for net/bmahe/genetics4j/neat/chromosomes/NeatChromosome::getConnections → KILLED
		return connections;
277
	}
278
279
	/**
280
	 * Returns the input IDs as a set, discarding declaration order.
281
	 * 
282
	 * @return set of input node IDs
283
	 * @deprecated use {@link #getInputNodeIds()} to preserve declaration order
284
	 */
285
	@Deprecated(forRemoval = false)
286
	public Set<Integer> getInputNodeIndices() {
287 3 1. getInputNodeIndices : removed call to java/util/Set::copyOf → KILLED
2. getInputNodeIndices : replaced return value with Collections.emptySet for net/bmahe/genetics4j/neat/chromosomes/NeatChromosome::getInputNodeIndices → KILLED
3. getInputNodeIndices : removed call to net/bmahe/genetics4j/neat/spec/NeatNodeLayout::inputNodeIds → KILLED
		return Set.copyOf(nodeLayout.inputNodeIds());
288
	}
289
290
	/**
291
	 * Returns the output IDs as a set, discarding declaration order.
292
	 * 
293
	 * @return set of output node IDs
294
	 * @deprecated use {@link #getOutputNodeIds()} to preserve declaration order
295
	 */
296
	@Deprecated(forRemoval = false)
297
	public Set<Integer> getOutputNodeIndices() {
298 3 1. getOutputNodeIndices : removed call to net/bmahe/genetics4j/neat/spec/NeatNodeLayout::outputNodeIds → KILLED
2. getOutputNodeIndices : replaced return value with Collections.emptySet for net/bmahe/genetics4j/neat/chromosomes/NeatChromosome::getOutputNodeIndices → KILLED
3. getOutputNodeIndices : removed call to java/util/Set::copyOf → KILLED
		return Set.copyOf(nodeLayout.outputNodeIds());
299
	}
300
301
	@Override
302
	public int hashCode() {
303
		return Objects.hash(connections, maxWeightValue, minWeightValue, nodeLayout);
304
	}
305
306
	@Override
307
	public boolean equals(Object obj) {
308 2 1. equals : negated conditional → KILLED
2. equals : removed conditional - replaced equality check with true → KILLED
		if (this == obj)
309 2 1. equals : replaced boolean return with false for net/bmahe/genetics4j/neat/chromosomes/NeatChromosome::equals → KILLED
2. equals : Substituted 1 with 0 → KILLED
			return true;
310 3 1. equals : removed conditional - replaced equality check with false → SURVIVED
2. equals : negated conditional → KILLED
3. equals : removed conditional - replaced equality check with true → KILLED
		if (obj == null)
311 2 1. equals : Substituted 0 with 1 → NO_COVERAGE
2. equals : replaced boolean return with true for net/bmahe/genetics4j/neat/chromosomes/NeatChromosome::equals → NO_COVERAGE
			return false;
312 5 1. equals : removed conditional - replaced equality check with false → SURVIVED
2. equals : negated conditional → KILLED
3. equals : removed call to java/lang/Object::getClass → KILLED
4. equals : removed conditional - replaced equality check with true → KILLED
5. equals : removed call to java/lang/Object::getClass → KILLED
		if (getClass() != obj.getClass())
313 2 1. equals : replaced boolean return with true for net/bmahe/genetics4j/neat/chromosomes/NeatChromosome::equals → NO_COVERAGE
2. equals : Substituted 0 with 1 → NO_COVERAGE
			return false;
314
		NeatChromosome other = (NeatChromosome) obj;
315
		return Objects.equals(connections, other.connections)
316 5 1. equals : removed conditional - replaced equality check with true → KILLED
2. equals : removed conditional - replaced equality check with false → KILLED
3. equals : removed call to java/lang/Float::floatToIntBits → KILLED
4. equals : negated conditional → KILLED
5. equals : removed call to java/lang/Float::floatToIntBits → KILLED
				&& Float.floatToIntBits(maxWeightValue) == Float.floatToIntBits(other.maxWeightValue)
317 5 1. equals : removed conditional - replaced equality check with false → KILLED
2. equals : removed conditional - replaced equality check with true → KILLED
3. equals : negated conditional → KILLED
4. equals : removed call to java/lang/Float::floatToIntBits → KILLED
5. equals : removed call to java/lang/Float::floatToIntBits → KILLED
				&& Float.floatToIntBits(minWeightValue) == Float.floatToIntBits(other.minWeightValue)
318 6 1. equals : removed conditional - replaced equality check with true → KILLED
2. equals : Substituted 1 with 0 → KILLED
3. equals : Substituted 0 with 1 → KILLED
4. equals : removed conditional - replaced equality check with false → KILLED
5. equals : removed call to net/bmahe/genetics4j/neat/spec/NeatNodeLayout::equals → KILLED
6. equals : negated conditional → KILLED
				&& nodeLayout.equals(other.nodeLayout);
319
	}
320
321
	@Override
322
	public String toString() {
323 3 1. toString : replaced return value with "" for net/bmahe/genetics4j/neat/chromosomes/NeatChromosome::toString → SURVIVED
2. toString : removed call to java/lang/String::valueOf → SURVIVED
3. toString : removed call to java/lang/String::valueOf → SURVIVED
		return "NeatChromosome [nodeLayout=" + nodeLayout + ", minWeightValue=" + minWeightValue + ", maxWeightValue="
324
				+ maxWeightValue + ", connections=" + connections + "]";
325
	}
326
}

Mutations

151

1.1
Location : <init>
Killed by : net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest]/[method:simple()]
Substituted 1 with 0 → KILLED

2.2
Location : <init>
Killed by : net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest]/[method:simple()]
removed call to net/bmahe/genetics4j/neat/spec/NeatNodeLayout::isExternal → KILLED

3.3
Location : <init>
Killed by : net.bmahe.genetics4j.neat.NeatUtilsTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.NeatUtilsTest]/[method:compatibilityDistanceSame()]
removed call to net/bmahe/genetics4j/neat/Connection::fromNodeIndex → KILLED

4.4
Location : <init>
Killed by : none
Substituted 0 with 1 → NO_COVERAGE

5.5
Location : <init>
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.SparseStructuralMutationTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.SparseStructuralMutationTest]/[method:addConnectionSamplesOnlyDeclaredNodes()]
removed call to net/bmahe/genetics4j/neat/Connection::fromNodeIndex → KILLED

6.6
Location : <init>
Killed by : none
removed conditional - replaced equality check with true → SURVIVED
Covering tests

7.7
Location : <init>
Killed by : net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest]/[method:simple()]
negated conditional → KILLED

8.8
Location : <init>
Killed by : net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest]/[method:simple()]
removed conditional - replaced equality check with true → KILLED

9.9
Location : <init>
Killed by : net.bmahe.genetics4j.neat.NeatUtilsTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.NeatUtilsTest]/[method:compatibilityDistanceSame()]
removed conditional - replaced equality check with false → KILLED

10.10
Location : <init>
Killed by : net.bmahe.genetics4j.neat.NeatUtilsTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.NeatUtilsTest]/[method:compatibilityDistanceSame()]
negated conditional → KILLED

11.11
Location : <init>
Killed by : net.bmahe.genetics4j.neat.NeatUtilsTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.NeatUtilsTest]/[method:compatibilityDistanceSame()]
removed call to net/bmahe/genetics4j/neat/spec/NeatNodeLayout::isHidden → KILLED

12.12
Location : <init>
Killed by : none
removed conditional - replaced equality check with false → SURVIVED Covering tests

153

1.1
Location : <init>
Killed by : none
removed call to net/bmahe/genetics4j/neat/Connection::fromNodeIndex → SURVIVED
Covering tests

155

1.1
Location : <init>
Killed by : net.bmahe.genetics4j.neat.NeatUtilsTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.NeatUtilsTest]/[method:compatibilityDistanceSame()]
removed call to net/bmahe/genetics4j/neat/spec/NeatNodeLayout::isHidden → KILLED

2.2
Location : <init>
Killed by : net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest]/[method:simple()]
negated conditional → KILLED

3.3
Location : <init>
Killed by : net.bmahe.genetics4j.neat.SparseNodeLayoutIntegrationTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.SparseNodeLayoutIntegrationTest]/[method:chromosomeRejectsNodesOutsideTheLayoutNamespaces()]
removed conditional - replaced equality check with false → KILLED

4.4
Location : <init>
Killed by : net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest]/[method:simple()]
removed call to net/bmahe/genetics4j/neat/spec/NeatNodeLayout::isExternal → KILLED

5.5
Location : <init>
Killed by : net.bmahe.genetics4j.neat.NeatUtilsTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.NeatUtilsTest]/[method:compatibilityDistanceSame()]
removed call to net/bmahe/genetics4j/neat/Connection::toNodeIndex → KILLED

6.6
Location : <init>
Killed by : net.bmahe.genetics4j.neat.SparseNodeLayoutIntegrationTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.SparseNodeLayoutIntegrationTest]/[method:chromosomeRejectsNodesOutsideTheLayoutNamespaces()]
negated conditional → KILLED

7.7
Location : <init>
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.SparseStructuralMutationTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.SparseStructuralMutationTest]/[method:addConnectionSamplesOnlyDeclaredNodes()]
removed call to net/bmahe/genetics4j/neat/Connection::toNodeIndex → KILLED

8.8
Location : <init>
Killed by : net.bmahe.genetics4j.neat.SparseNodeLayoutIntegrationTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.SparseNodeLayoutIntegrationTest]/[method:chromosomeRejectsNodesOutsideTheLayoutNamespaces()]
removed conditional - replaced equality check with true → KILLED

9.9
Location : <init>
Killed by : net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest]/[method:simple()]
Substituted 1 with 0 → KILLED

10.10
Location : <init>
Killed by : net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest]/[method:simple()]
removed conditional - replaced equality check with true → KILLED

11.11
Location : <init>
Killed by : net.bmahe.genetics4j.neat.NeatUtilsTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.NeatUtilsTest]/[method:compatibilityDistanceSame()]
removed conditional - replaced equality check with false → KILLED

12.12
Location : <init>
Killed by : net.bmahe.genetics4j.neat.SparseNodeLayoutIntegrationTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.SparseNodeLayoutIntegrationTest]/[method:chromosomeRejectsNodesOutsideTheLayoutNamespaces()]
Substituted 0 with 1 → KILLED

157

1.1
Location : <init>
Killed by : none
removed call to net/bmahe/genetics4j/neat/Connection::toNodeIndex → SURVIVED
Covering tests

160

1.1
Location : <init>
Killed by : net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest]/[method:simple()]
Removed assignment to member variable nodeLayout → KILLED

161

1.1
Location : <init>
Killed by : net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest]/[method:simple()]
Removed assignment to member variable minWeightValue → KILLED

162

1.1
Location : <init>
Killed by : net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest]/[method:simple()]
Removed assignment to member variable maxWeightValue → KILLED

164

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

165

1.1
Location : <init>
Killed by : net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest]/[method:simple()]
removed call to java/util/Collections::sort → KILLED

2.2
Location : <init>
Killed by : net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest]/[method:simple()]
removed call to java/util/Comparator::comparing → KILLED

166

1.1
Location : <init>
Killed by : none
replaced call to java/util/Collections::unmodifiableList with argument → SURVIVED
Covering tests

2.2
Location : <init>
Killed by : net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest]/[method:simple()]
removed call to java/util/Collections::unmodifiableList → KILLED

3.3
Location : <init>
Killed by : net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest]/[method:simple()]
Removed assignment to member variable connections → KILLED

175

1.1
Location : <init>
Killed by : net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest]/[method:noInput()]
removed call to net/bmahe/genetics4j/neat/spec/NeatNodeLayout::contiguous → KILLED

195

1.1
Location : getNumAlleles
Killed by : net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest]/[method:simple()]
removed call to net/bmahe/genetics4j/neat/spec/NeatNodeLayout::numOutputs → KILLED

2.2
Location : getNumAlleles
Killed by : net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest]/[method:simple()]
replaced int return with 0 for net/bmahe/genetics4j/neat/chromosomes/NeatChromosome::getNumAlleles → KILLED

3.3
Location : getNumAlleles
Killed by : net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest]/[method:simple()]
removed call to java/util/List::size → KILLED

4.4
Location : getNumAlleles
Killed by : net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest]/[method:simple()]
removed call to net/bmahe/genetics4j/neat/spec/NeatNodeLayout::numInputs → KILLED

5.5
Location : getNumAlleles
Killed by : net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest]/[method:simple()]
Replaced integer addition with subtraction → KILLED

6.6
Location : getNumAlleles
Killed by : net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest]/[method:simple()]
Replaced integer addition with subtraction → KILLED

206

1.1
Location : getNumInputs
Killed by : net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest]/[method:simple()]
removed call to net/bmahe/genetics4j/neat/spec/NeatNodeLayout::numInputs → KILLED

2.2
Location : getNumInputs
Killed by : net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest]/[method:simple()]
replaced int return with 0 for net/bmahe/genetics4j/neat/chromosomes/NeatChromosome::getNumInputs → KILLED

217

1.1
Location : getNumOutputs
Killed by : net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest]/[method:simple()]
replaced int return with 0 for net/bmahe/genetics4j/neat/chromosomes/NeatChromosome::getNumOutputs → KILLED

2.2
Location : getNumOutputs
Killed by : net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest]/[method:simple()]
removed call to net/bmahe/genetics4j/neat/spec/NeatNodeLayout::numOutputs → KILLED

221

1.1
Location : getNodeLayout
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeDeleteNodeMutationHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeDeleteNodeMutationHandlerTest]/[method:mutateConnectionEmpty()]
replaced return value with null for net/bmahe/genetics4j/neat/chromosomes/NeatChromosome::getNodeLayout → KILLED

226

1.1
Location : getInputNodeIds
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeDeleteNodeMutationHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeDeleteNodeMutationHandlerTest]/[method:mutateConnectionEmpty()]
removed call to net/bmahe/genetics4j/neat/spec/NeatNodeLayout::inputNodeIds → KILLED

2.2
Location : getInputNodeIds
Killed by : net.bmahe.genetics4j.neat.SparseNodeLayoutIntegrationTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.SparseNodeLayoutIntegrationTest]/[method:factoriesPreserveSparseOrderedIds()]
replaced return value with Collections.emptyList for net/bmahe/genetics4j/neat/chromosomes/NeatChromosome::getInputNodeIds → KILLED

231

1.1
Location : getOutputNodeIds
Killed by : net.bmahe.genetics4j.neat.SparseNodeLayoutIntegrationTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.SparseNodeLayoutIntegrationTest]/[method:factoriesPreserveSparseOrderedIds()]
replaced return value with Collections.emptyList for net/bmahe/genetics4j/neat/chromosomes/NeatChromosome::getOutputNodeIds → KILLED

2.2
Location : getOutputNodeIds
Killed by : net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeDeleteNodeMutationHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeDeleteNodeMutationHandlerTest]/[method:mutateConnectionEmpty()]
removed call to net/bmahe/genetics4j/neat/spec/NeatNodeLayout::outputNodeIds → KILLED

243

1.1
Location : getMinWeightValue
Killed by : net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest]/[method:simple()]
replaced float return with 0.0f for net/bmahe/genetics4j/neat/chromosomes/NeatChromosome::getMinWeightValue → KILLED

255

1.1
Location : getMaxWeightValue
Killed by : net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest]/[method:simple()]
replaced float return with 0.0f for net/bmahe/genetics4j/neat/chromosomes/NeatChromosome::getMaxWeightValue → KILLED

276

1.1
Location : getConnections
Killed by : net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest]/[method:simple()]
replaced return value with Collections.emptyList for net/bmahe/genetics4j/neat/chromosomes/NeatChromosome::getConnections → KILLED

287

1.1
Location : getInputNodeIndices
Killed by : net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest]/[method:simple()]
removed call to java/util/Set::copyOf → KILLED

2.2
Location : getInputNodeIndices
Killed by : net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest]/[method:simple()]
replaced return value with Collections.emptySet for net/bmahe/genetics4j/neat/chromosomes/NeatChromosome::getInputNodeIndices → KILLED

3.3
Location : getInputNodeIndices
Killed by : net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest]/[method:simple()]
removed call to net/bmahe/genetics4j/neat/spec/NeatNodeLayout::inputNodeIds → KILLED

298

1.1
Location : getOutputNodeIndices
Killed by : net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest]/[method:simple()]
removed call to net/bmahe/genetics4j/neat/spec/NeatNodeLayout::outputNodeIds → KILLED

2.2
Location : getOutputNodeIndices
Killed by : net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest]/[method:simple()]
replaced return value with Collections.emptySet for net/bmahe/genetics4j/neat/chromosomes/NeatChromosome::getOutputNodeIndices → KILLED

3.3
Location : getOutputNodeIndices
Killed by : net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest]/[method:simple()]
removed call to java/util/Set::copyOf → KILLED

308

1.1
Location : equals
Killed by : net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest]/[method:simple()]
negated conditional → KILLED

2.2
Location : equals
Killed by : net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest]/[method:simple()]
removed conditional - replaced equality check with true → KILLED

309

1.1
Location : equals
Killed by : net.bmahe.genetics4j.neat.combination.parentcompare.FitnessComparisonHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.combination.parentcompare.FitnessComparisonHandlerTest]/[method:compare()]
replaced boolean return with false for net/bmahe/genetics4j/neat/chromosomes/NeatChromosome::equals → KILLED

2.2
Location : equals
Killed by : net.bmahe.genetics4j.neat.combination.parentcompare.FitnessComparisonHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.combination.parentcompare.FitnessComparisonHandlerTest]/[method:compare()]
Substituted 1 with 0 → KILLED

310

1.1
Location : equals
Killed by : net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest]/[method:simple()]
negated conditional → KILLED

2.2
Location : equals
Killed by : net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest]/[method:simple()]
removed conditional - replaced equality check with true → KILLED

3.3
Location : equals
Killed by : none
removed conditional - replaced equality check with false → SURVIVED
Covering tests

311

1.1
Location : equals
Killed by : none
Substituted 0 with 1 → NO_COVERAGE

2.2
Location : equals
Killed by : none
replaced boolean return with true for net/bmahe/genetics4j/neat/chromosomes/NeatChromosome::equals → NO_COVERAGE

312

1.1
Location : equals
Killed by : net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest]/[method:simple()]
negated conditional → KILLED

2.2
Location : equals
Killed by : net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest]/[method:simple()]
removed call to java/lang/Object::getClass → KILLED

3.3
Location : equals
Killed by : net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest]/[method:simple()]
removed conditional - replaced equality check with true → KILLED

4.4
Location : equals
Killed by : none
removed conditional - replaced equality check with false → SURVIVED
Covering tests

5.5
Location : equals
Killed by : net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest]/[method:simple()]
removed call to java/lang/Object::getClass → KILLED

313

1.1
Location : equals
Killed by : none
replaced boolean return with true for net/bmahe/genetics4j/neat/chromosomes/NeatChromosome::equals → NO_COVERAGE

2.2
Location : equals
Killed by : none
Substituted 0 with 1 → NO_COVERAGE

316

1.1
Location : equals
Killed by : net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest]/[method:simple()]
removed conditional - replaced equality check with true → KILLED

2.2
Location : equals
Killed by : net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest]/[method:simple()]
removed conditional - replaced equality check with false → KILLED

3.3
Location : equals
Killed by : net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest]/[method:simple()]
removed call to java/lang/Float::floatToIntBits → KILLED

4.4
Location : equals
Killed by : net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest]/[method:simple()]
negated conditional → KILLED

5.5
Location : equals
Killed by : net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest]/[method:simple()]
removed call to java/lang/Float::floatToIntBits → KILLED

317

1.1
Location : equals
Killed by : net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest]/[method:simple()]
removed conditional - replaced equality check with false → KILLED

2.2
Location : equals
Killed by : net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest]/[method:simple()]
removed conditional - replaced equality check with true → KILLED

3.3
Location : equals
Killed by : net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest]/[method:simple()]
negated conditional → KILLED

4.4
Location : equals
Killed by : net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest]/[method:simple()]
removed call to java/lang/Float::floatToIntBits → KILLED

5.5
Location : equals
Killed by : net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest]/[method:simple()]
removed call to java/lang/Float::floatToIntBits → KILLED

318

1.1
Location : equals
Killed by : net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest]/[method:simple()]
removed conditional - replaced equality check with true → KILLED

2.2
Location : equals
Killed by : net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest]/[method:simple()]
Substituted 1 with 0 → KILLED

3.3
Location : equals
Killed by : net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest]/[method:simple()]
Substituted 0 with 1 → KILLED

4.4
Location : equals
Killed by : net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest]/[method:simple()]
removed conditional - replaced equality check with false → KILLED

5.5
Location : equals
Killed by : net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest]/[method:simple()]
removed call to net/bmahe/genetics4j/neat/spec/NeatNodeLayout::equals → KILLED

6.6
Location : equals
Killed by : net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.chromosomes.NeatChromosomeTest]/[method:simple()]
negated conditional → KILLED

323

1.1
Location : toString
Killed by : none
replaced return value with "" for net/bmahe/genetics4j/neat/chromosomes/NeatChromosome::toString → SURVIVED
Covering tests

2.2
Location : toString
Killed by : none
removed call to java/lang/String::valueOf → SURVIVED Covering tests

3.3
Location : toString
Killed by : none
removed call to java/lang/String::valueOf → SURVIVED Covering tests

Active mutators

Tests examined


Report generated by PIT 1.23.1 support