Class MixedStrengthParameterCombinationFactory
- java.lang.Object
-
- de.rwth.swc.coffee4j.algorithmic.sequential.generator.ipog.MixedStrengthParameterCombinationFactory
-
- All Implemented Interfaces:
ParameterCombinationFactory
public class MixedStrengthParameterCombinationFactory extends Object implements ParameterCombinationFactory
The "normal" strategy for covering all t-value-combinations for combinatorial test with testing strength t. This means that all combinations of previous parameters with strength t - 1 are returned, as the current parameter is added to every combination as described inParameterCombinationFactory
.
-
-
Constructor Summary
Constructors Constructor Description MixedStrengthParameterCombinationFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<it.unimi.dsi.fastutil.ints.IntSet>
create(int[] oldParameters, int nextParameter, TestModel model)
Calculates which parameter combinations should be covered in the next step.
-
-
-
Method Detail
-
create
public List<it.unimi.dsi.fastutil.ints.IntSet> create(int[] oldParameters, int nextParameter, TestModel model)
Description copied from interface:ParameterCombinationFactory
Calculates which parameter combinations should be covered in the next step.- Specified by:
create
in interfaceParameterCombinationFactory
- Parameters:
oldParameters
- the parameters already set by IPOG in horizontal expansionnextParameter
- the next parameter for which the parameter combination between it and the oldParameters needs to be calculatedmodel
- the model including the strength configuration- Returns:
- all combinations of old parameter which should be covered together with the next parameter. If all only all values of the next parameter should be covered (testing strength of one), a list with a single empty set must be returned. If no values in the next parameters need to be covered (testing strength zero), an empty list must be returned.
-
-