public class GeneralDiamondResult
extends java.lang.Object
| Constructor and Description |
|---|
GeneralDiamondResult()
Creates a new positive GeneralDiamondResult with witness values left
empty.
|
GeneralDiamondResult(State witnessState,
java.lang.String label1,
java.lang.String label2,
boolean label1Forward,
boolean label2Forward)
Creates a new negative GeneralDiamondResult with witness values that
specify why the LTS is not a T'-gdiam.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getWitnessLabel1()
Returns the first of the two labels that were tested when the
gdiam-check failed.
|
java.lang.String |
getWitnessLabel1String()
Returns a formatted string that contains label and direction for the
first label.
|
java.lang.String |
getWitnessLabel2()
Returns the second of the two labels that were tested when the
gdiam-check failed.
|
java.lang.String |
getWitnessLabel2String()
Returns a formatted string that contains label and direction for the
second label.
|
State |
getWitnessState()
Returns the state that failed the gdiam-check.
|
boolean |
isGdiam()
Returns if the LTS is a T'-gdiam.
|
boolean |
isWitnessLabel1Forward()
Returns the direction in which the first label was followed.
|
boolean |
isWitnessLabel2Forward()
Returns the direction in which the second label was followed.
|
java.lang.String |
toString() |
public GeneralDiamondResult()
public GeneralDiamondResult(State witnessState, java.lang.String label1, java.lang.String label2, boolean label1Forward, boolean label2Forward)
witnessState - the state caused the failing checklabel1 - the first label that caused the failing checklabel2 - the second label that caused the failing checklabel1Forward - direction of the first labellabel2Forward - direction of the second labelpublic State getWitnessState()
public java.lang.String getWitnessLabel1()
public java.lang.String getWitnessLabel2()
public boolean isWitnessLabel1Forward()
public boolean isWitnessLabel2Forward()
public boolean isGdiam()
public java.lang.String getWitnessLabel1String()
public java.lang.String getWitnessLabel2String()
public java.lang.String toString()
toString in class java.lang.Object