1
|
|
package net.bmahe.genetics4j.moo.nsga2.impl; |
2
|
|
|
3
|
|
import net.bmahe.genetics4j.core.selection.SelectionPolicyHandler; |
4
|
|
import net.bmahe.genetics4j.core.spec.AbstractEAExecutionContext; |
5
|
|
import net.bmahe.genetics4j.core.spec.SelectionPolicyHandlerFactory; |
6
|
|
|
7
|
|
public class NSGA2SelectionPolicyHandlerFactory<T extends Comparable<T>> implements SelectionPolicyHandlerFactory<T> { |
8
|
|
|
9
|
|
@Override |
10
|
|
public SelectionPolicyHandler<T> apply(final AbstractEAExecutionContext<T> abstractEAExecutionContext) { |
11
|
2
1. apply : removed call to net/bmahe/genetics4j/moo/nsga2/impl/NSGA2SelectionPolicyHandler::<init> → SURVIVED
2. apply : replaced return value with null for net/bmahe/genetics4j/moo/nsga2/impl/NSGA2SelectionPolicyHandlerFactory::apply → SURVIVED
|
return new NSGA2SelectionPolicyHandler<T>(); |
12
|
|
} |
13
|
|
} |
| | Mutations |
11 |
|
1.1 Location : apply Killed by : none removed call to net/bmahe/genetics4j/moo/nsga2/impl/NSGA2SelectionPolicyHandler::<init> → SURVIVED
Covering tests
Covered by tests:
- net.bmahe.genetics4j.moo.nsga2.impl.TournamentNSGA2SelectionPolicyHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.moo.nsga2.impl.TournamentNSGA2SelectionPolicyHandlerTest]/[method:resolveWrongSelectionSpec()]
- net.bmahe.genetics4j.moo.nsga2.impl.TournamentNSGA2SelectionPolicyHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.moo.nsga2.impl.TournamentNSGA2SelectionPolicyHandlerTest]/[method:resolveNoSpec()]
- net.bmahe.genetics4j.moo.nsga2.impl.TournamentNSGA2SelectionPolicyHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.moo.nsga2.impl.TournamentNSGA2SelectionPolicyHandlerTest]/[method:resolveNoGSD()]
- net.bmahe.genetics4j.moo.nsga2.impl.TournamentNSGA2SelectionPolicyHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.moo.nsga2.impl.TournamentNSGA2SelectionPolicyHandlerTest]/[method:resolveNoSelectionSpec()]
- net.bmahe.genetics4j.moo.nsga2.impl.TournamentNSGA2SelectionPolicyHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.moo.nsga2.impl.TournamentNSGA2SelectionPolicyHandlerTest]/[method:resolveNoSHR()]
- net.bmahe.genetics4j.moo.nsga2.impl.NSGA2SelectionPolicyHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.moo.nsga2.impl.NSGA2SelectionPolicyHandlerTest]/[method:resolveNoGSD()]
- net.bmahe.genetics4j.moo.nsga2.impl.TournamentNSGA2SelectionPolicyHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.moo.nsga2.impl.TournamentNSGA2SelectionPolicyHandlerTest]/[method:resolve()]
- net.bmahe.genetics4j.moo.nsga2.impl.NSGA2SelectionPolicyHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.moo.nsga2.impl.NSGA2SelectionPolicyHandlerTest]/[method:resolveNoSelectionSpec()]
- net.bmahe.genetics4j.moo.nsga2.impl.NSGA2SelectionPolicyHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.moo.nsga2.impl.NSGA2SelectionPolicyHandlerTest]/[method:resolveNoSHR()]
- net.bmahe.genetics4j.moo.nsga2.impl.NSGA2SelectionPolicyHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.moo.nsga2.impl.NSGA2SelectionPolicyHandlerTest]/[method:resolve()]
- net.bmahe.genetics4j.moo.nsga2.impl.NSGA2SelectionPolicyHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.moo.nsga2.impl.NSGA2SelectionPolicyHandlerTest]/[method:resolveNoSpec()]
- net.bmahe.genetics4j.moo.nsga2.impl.NSGA2SelectionPolicyHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.moo.nsga2.impl.NSGA2SelectionPolicyHandlerTest]/[method:resolveWrongSelectionSpec()]
2.2 Location : apply Killed by : none replaced return value with null for net/bmahe/genetics4j/moo/nsga2/impl/NSGA2SelectionPolicyHandlerFactory::apply → SURVIVED
Covering tests
Covered by tests:
- net.bmahe.genetics4j.moo.nsga2.impl.TournamentNSGA2SelectionPolicyHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.moo.nsga2.impl.TournamentNSGA2SelectionPolicyHandlerTest]/[method:resolveWrongSelectionSpec()]
- net.bmahe.genetics4j.moo.nsga2.impl.TournamentNSGA2SelectionPolicyHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.moo.nsga2.impl.TournamentNSGA2SelectionPolicyHandlerTest]/[method:resolveNoSpec()]
- net.bmahe.genetics4j.moo.nsga2.impl.TournamentNSGA2SelectionPolicyHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.moo.nsga2.impl.TournamentNSGA2SelectionPolicyHandlerTest]/[method:resolveNoGSD()]
- net.bmahe.genetics4j.moo.nsga2.impl.TournamentNSGA2SelectionPolicyHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.moo.nsga2.impl.TournamentNSGA2SelectionPolicyHandlerTest]/[method:resolveNoSelectionSpec()]
- net.bmahe.genetics4j.moo.nsga2.impl.TournamentNSGA2SelectionPolicyHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.moo.nsga2.impl.TournamentNSGA2SelectionPolicyHandlerTest]/[method:resolveNoSHR()]
- net.bmahe.genetics4j.moo.nsga2.impl.NSGA2SelectionPolicyHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.moo.nsga2.impl.NSGA2SelectionPolicyHandlerTest]/[method:resolveNoGSD()]
- net.bmahe.genetics4j.moo.nsga2.impl.TournamentNSGA2SelectionPolicyHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.moo.nsga2.impl.TournamentNSGA2SelectionPolicyHandlerTest]/[method:resolve()]
- net.bmahe.genetics4j.moo.nsga2.impl.NSGA2SelectionPolicyHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.moo.nsga2.impl.NSGA2SelectionPolicyHandlerTest]/[method:resolveNoSelectionSpec()]
- net.bmahe.genetics4j.moo.nsga2.impl.NSGA2SelectionPolicyHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.moo.nsga2.impl.NSGA2SelectionPolicyHandlerTest]/[method:resolveNoSHR()]
- net.bmahe.genetics4j.moo.nsga2.impl.NSGA2SelectionPolicyHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.moo.nsga2.impl.NSGA2SelectionPolicyHandlerTest]/[method:resolve()]
- net.bmahe.genetics4j.moo.nsga2.impl.NSGA2SelectionPolicyHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.moo.nsga2.impl.NSGA2SelectionPolicyHandlerTest]/[method:resolveNoSpec()]
- net.bmahe.genetics4j.moo.nsga2.impl.NSGA2SelectionPolicyHandlerTest.[engine:junit-jupiter]/[class:net.bmahe.genetics4j.moo.nsga2.impl.NSGA2SelectionPolicyHandlerTest]/[method:resolveWrongSelectionSpec()]
|