Class TupleNode
- java.lang.Object
-
- de.rwth.swc.coffee4j.algorithmic.interleaving.identification.trt.TupleNode
-
public class TupleNode extends Object
Class representing Nodes used byTupleRelationshipStrategyto identify minimal failure or exception-inducing combinations.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)int[]getCombination(int[] failingTestInput)maps the storedBitSetto the sub-combination it represents.intgetSize()inthashCode()booleanisMinimalInducingTuple()
-
-
-
Method Detail
-
isMinimalInducingTuple
public boolean isMinimalInducingTuple()
- Returns:
- true iff this tuple is minimal failure- or exception-inducing, i.e. it has no children or all children are healthy.
-
getSize
public int getSize()
- Returns:
- number of set parameters
-
getCombination
public int[] getCombination(int[] failingTestInput)
maps the storedBitSetto the sub-combination it represents.- Parameters:
failingTestInput- test input to compute the sub-combination for.- Returns:
- the sub-combination of the failingTestInput this tuple represents.
-
-