Interface ParameterOrder
-
- All Known Implementing Classes:
StrengthBasedParameterOrder
public interface ParameterOrderDefines the order in which parameters should be covered in IPOG. The order can be relevant for performance and test suite size. Additionally, a correct combination of order andParameterCombinationFactorycan be important.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int[]getInitialParameters(it.unimi.dsi.fastutil.ints.Int2IntMap parameters, int strength)All combinations which should be used in the first initial step of IPOG.int[]getRemainingParameters(it.unimi.dsi.fastutil.ints.Int2IntMap parameters, int strength)The order of all remaining parameters.
-
-
-
Method Detail
-
getInitialParameters
int[] getInitialParameters(it.unimi.dsi.fastutil.ints.Int2IntMap parameters, int strength)All combinations which should be used in the first initial step of IPOG. In this step the cartesian product of all returned parameters is calculated. This means that the strength may need to be considered.- Parameters:
parameters- the parameters and their sizes.strength- with which the test suite should be calculated- Returns:
- all parameters which should be constructed using the combinatorial product. This explicitly means that
these parameters are always in oldParameters in a
ParameterCombinationFactory
-
getRemainingParameters
int[] getRemainingParameters(it.unimi.dsi.fastutil.ints.Int2IntMap parameters, int strength)The order of all remaining parameters. The parameter which should be expanded in the first horizontal expansion should be at the first place in the array (index 0).- Parameters:
parameters- the parameters and their sizes.strength- with which the test suite should be calculated- Returns:
- all parameters which were not already returned by
getInitialParameters(Int2IntMap, int)and any order
-
-