public class Deterministic
extends java.lang.Object
| Constructor and Description |
|---|
Deterministic(TransitionSystem ts)
Creates a new
Deterministic instance that operates on the
given transition system. |
Deterministic(TransitionSystem ts,
boolean forward)
Creates a new
Deterministic instance that operates on the
given transition system. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getLabel()
Gets the label that caused the labeled transition system to be
non-deterministic.
|
State |
getNode()
Gets the node that caused the labeled transition system to be
non-deterministic.
|
boolean |
isDeterministic()
Check if the labeled transition system is deterministic
|
void |
throwIfNonDeterministic()
Throw a
NonDeterministicException if the labeled transition system is not deterministic, else do
nothing. |
public Deterministic(TransitionSystem ts)
Deterministic instance that operates on the
given transition system.ts - transition system to checkpublic Deterministic(TransitionSystem ts, boolean forward)
Deterministic instance that operates on the
given transition system.ts - transition system to checkforward - If true, forward determinism is checked, else backward determinism.public void throwIfNonDeterministic()
throws NonDeterministicException
NonDeterministicException if the labeled transition system is not deterministic, else do
nothing.NonDeterministicException - If the transition system is not deterministic.public boolean isDeterministic()
public java.lang.String getLabel()
public State getNode()