Class MinimalForbiddenTuplesChecker
- java.lang.Object
-
- de.rwth.swc.coffee4j.algorithmic.constraint.ForbiddenTuplesChecker
-
- de.rwth.swc.coffee4j.algorithmic.constraint.MinimalForbiddenTuplesChecker
-
- All Implemented Interfaces:
ConstraintChecker
public class MinimalForbiddenTuplesChecker extends ForbiddenTuplesChecker
Subclass ofForbiddenTuplesChecker
implementing the general approach introduced in "Constraint Handling In Combinatorial Test Generation Using Forbidden Tuples" by Yu et. al.
-
-
Constructor Summary
Constructors Constructor Description MinimalForbiddenTuplesChecker(ForbiddenTuplesChecker checker)
Copy constructor.MinimalForbiddenTuplesChecker(CompleteTestModel model)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addConstraint(int[] forbiddenTuple)
protected void
generateMinimalForbiddenTupleSet()
template method that can be implemented to provide the general approach depicted in "Constraint Handling In Combinatorial Test Generation Using Forbidden Tuples".protected void
generateNecessaryForbiddenTupleSet(int[] combination)
template method that can be used to provide the on-demand approach depicted in "Constraint Handling In Combinatorial Test Generation Using Forbidden Tuples".static MinimalForbiddenTuplesCheckerFactory
minimalForbiddenTuplesChecker()
-
Methods inherited from class de.rwth.swc.coffee4j.algorithmic.constraint.ForbiddenTuplesChecker
getInitialForbiddenTuples, getMinimalForbiddenTuples, isDualValid, isExtensionValid, isValid
-
-
-
-
Constructor Detail
-
MinimalForbiddenTuplesChecker
public MinimalForbiddenTuplesChecker(CompleteTestModel model)
- Parameters:
model
- test model to create aConstraintChecker
for.
-
MinimalForbiddenTuplesChecker
public MinimalForbiddenTuplesChecker(ForbiddenTuplesChecker checker)
Copy constructor.- Parameters:
checker
-ForbiddenTuplesChecker
to copy.
-
-
Method Detail
-
minimalForbiddenTuplesChecker
public static MinimalForbiddenTuplesCheckerFactory minimalForbiddenTuplesChecker()
- Returns:
- returns factory for creating
MinimalForbiddenTuplesChecker
.
-
generateMinimalForbiddenTupleSet
protected void generateMinimalForbiddenTupleSet()
Description copied from class:ForbiddenTuplesChecker
template method that can be implemented to provide the general approach depicted in "Constraint Handling In Combinatorial Test Generation Using Forbidden Tuples".- Specified by:
generateMinimalForbiddenTupleSet
in classForbiddenTuplesChecker
-
generateNecessaryForbiddenTupleSet
protected void generateNecessaryForbiddenTupleSet(int[] combination)
Description copied from class:ForbiddenTuplesChecker
template method that can be used to provide the on-demand approach depicted in "Constraint Handling In Combinatorial Test Generation Using Forbidden Tuples".- Specified by:
generateNecessaryForbiddenTupleSet
in classForbiddenTuplesChecker
- Parameters:
combination
- combination for which the set of minimal forbidden tuples is created.
-
addConstraint
public void addConstraint(int[] forbiddenTuple)
-
-