Class TupleNode
- java.lang.Object
-
- de.rwth.swc.coffee4j.algorithmic.interleaving.identification.trt.TupleNode
-
public class TupleNode extends Object
Class representing Nodes used byTupleRelationshipStrategy
to identify minimal failure or exception-inducing combinations.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
int[]
getCombination(int[] failingTestInput)
maps the storedBitSet
to the sub-combination it represents.int
getSize()
int
hashCode()
boolean
isMinimalInducingTuple()
-
-
-
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 storedBitSet
to 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.
-
-