public final class TransitionSystem
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object object) |
int |
getStates()
Returns the number of states of this transition system.
|
java.util.BitSet |
getStatesWithLabel(java.lang.String label)
Returns the states of this transition system with the given label.
|
int |
hashCode() |
java.util.BitSet |
post(int state)
Returns the set of successor states of the given state.
|
static TransitionSystem |
random(int states)
Returns a random transition system with the given number of states.
|
java.lang.String |
toString() |
public static TransitionSystem random(int states)
states
- the number of states of the transition systempublic int getStates()
public boolean equals(java.lang.Object object)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public java.util.BitSet post(int state)
state
- a statepublic java.util.BitSet getStatesWithLabel(java.lang.String label)
label
- an atomic proposition