Class TWiseParameterCombinationFactory

  • All Implemented Interfaces:
    ParameterCombinationFactory

    public class TWiseParameterCombinationFactory
    extends java.lang.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 in ParameterCombinationFactory.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<it.unimi.dsi.fastutil.ints.IntSet> create​(int[] oldParameters, int strength)
      Calculates which parameter combinations should be covered in the next step.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TWiseParameterCombinationFactory

        public TWiseParameterCombinationFactory()
    • Method Detail

      • create

        public java.util.List<it.unimi.dsi.fastutil.ints.IntSet> create​(int[] oldParameters,
                                                                        int strength)
        Description copied from interface: ParameterCombinationFactory
        Calculates which parameter combinations should be covered in the next step. The factory can only implicitly know the next parameter through the ParameterOrder used.
        Specified by:
        create in interface ParameterCombinationFactory
        Parameters:
        oldParameters - the parameters already set by IPOG in horizontal expansion
        strength - the strength of the test suite which should be generated
        Returns:
        all combinations of old parameter which should be covered together with the next parameter