Class SequentialClassificationPhase
- java.lang.Object
-
- de.rwth.swc.coffee4j.engine.process.phase.AbstractPhase<SequentialGenerationContext,Map<Combination,TestResult>,Combination>
-
- de.rwth.swc.coffee4j.engine.process.phase.sequential.classification.SequentialClassificationPhase
-
- All Implemented Interfaces:
Phase<Map<Combination,TestResult>,Combination>
public class SequentialClassificationPhase extends AbstractPhase<SequentialGenerationContext,Map<Combination,TestResult>,Combination>
Abstract Class for Classification Phase providing general functionality in the sequential part.
-
-
Field Summary
Fields Modifier and Type Field Description protected ModelConverter
modelConverter
protected GeneratingSequentialCombinatorialTestManager
testManager
-
Fields inherited from class de.rwth.swc.coffee4j.engine.process.phase.AbstractPhase
context
-
-
Constructor Summary
Constructors Constructor Description SequentialClassificationPhase(SequentialGenerationContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Combination
execute(Map<Combination,TestResult> input)
Executes the phase.Combination
initialize(Map<Combination,TestResult> errorConstraintExceptionCausingTestInputs)
-
-
-
Field Detail
-
testManager
protected final GeneratingSequentialCombinatorialTestManager testManager
-
modelConverter
protected final ModelConverter modelConverter
-
-
Constructor Detail
-
SequentialClassificationPhase
public SequentialClassificationPhase(SequentialGenerationContext context)
-
-
Method Detail
-
initialize
public Combination initialize(Map<Combination,TestResult> errorConstraintExceptionCausingTestInputs)
- Parameters:
errorConstraintExceptionCausingTestInputs
- all test inputs that triggered anErrorConstraintException
during the identification.- Returns:
- first test input needed for classification if needed.
-
execute
public Combination execute(Map<Combination,TestResult> input)
Description copied from interface:Phase
Executes the phase. Transform some input int some output- Parameters:
input
- the input of the phase- Returns:
- the output of the phase
-
-