1
|
|
package net.bmahe.genetics4j.neat.spec.combination.parentcompare; |
2
|
|
|
3
|
|
import org.immutables.value.Value; |
4
|
|
|
5
|
|
/** |
6
|
|
* Comparing parents based on their fitness |
7
|
|
*/ |
8
|
|
@Value.Immutable |
9
|
|
public interface FitnessComparison extends ParentComparisonPolicy { |
10
|
|
|
11
|
|
class Builder extends ImmutableFitnessComparison.Builder { |
12
|
|
} |
13
|
|
|
14
|
|
static Builder builder() { |
15
|
2
1. builder : removed call to net/bmahe/genetics4j/neat/spec/combination/parentcompare/FitnessComparison$Builder::<init> → KILLED
2. builder : replaced return value with null for net/bmahe/genetics4j/neat/spec/combination/parentcompare/FitnessComparison::builder → KILLED
|
return new Builder(); |
16
|
|
} |
17
|
|
|
18
|
|
static FitnessComparison build() { |
19
|
3
1. build : removed call to net/bmahe/genetics4j/neat/spec/combination/parentcompare/FitnessComparison::builder → KILLED
2. build : removed call to net/bmahe/genetics4j/neat/spec/combination/parentcompare/FitnessComparison$Builder::build → KILLED
3. build : replaced return value with null for net/bmahe/genetics4j/neat/spec/combination/parentcompare/FitnessComparison::build → KILLED
|
return builder().build(); |
20
|
|
} |
21
|
|
} |
| | Mutations |
15 |
|
1.1 Location : builder Killed by : net.bmahe.genetics4j.neat.combination.parentcompare.FitnessComparisonHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.combination.parentcompare.FitnessComparisonHandlerTest]/[method:canHandle()] removed call to net/bmahe/genetics4j/neat/spec/combination/parentcompare/FitnessComparison$Builder::<init> → KILLED
2.2 Location : builder Killed by : net.bmahe.genetics4j.neat.combination.parentcompare.FitnessComparisonHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.combination.parentcompare.FitnessComparisonHandlerTest]/[method:canHandle()] replaced return value with null for net/bmahe/genetics4j/neat/spec/combination/parentcompare/FitnessComparison::builder → KILLED
|
19 |
|
1.1 Location : build Killed by : net.bmahe.genetics4j.neat.combination.parentcompare.FitnessComparisonHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.combination.parentcompare.FitnessComparisonHandlerTest]/[method:canHandle()] removed call to net/bmahe/genetics4j/neat/spec/combination/parentcompare/FitnessComparison::builder → KILLED
2.2 Location : build Killed by : net.bmahe.genetics4j.neat.combination.parentcompare.FitnessComparisonHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.combination.parentcompare.FitnessComparisonHandlerTest]/[method:canHandle()] removed call to net/bmahe/genetics4j/neat/spec/combination/parentcompare/FitnessComparison$Builder::build → KILLED
3.3 Location : build Killed by : net.bmahe.genetics4j.neat.combination.parentcompare.FitnessComparisonHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.neat.combination.parentcompare.FitnessComparisonHandlerTest]/[method:canHandle()] replaced return value with null for net/bmahe/genetics4j/neat/spec/combination/parentcompare/FitnessComparison::build → KILLED
|