public class PetriNetOrTransitionSystem
extends java.lang.Object
| Constructor and Description |
|---|
PetriNetOrTransitionSystem(PetriNet net)
Store a Petri net.
|
PetriNetOrTransitionSystem(TransitionSystem ts)
Store a labeled transition system.
|
| Modifier and Type | Method and Description |
|---|---|
TransitionSystem |
getCoverabilityLTS()
Either gets the stored transition system or, if a Petri net is stored, the coverability graph of the stored
Petri net.
|
PetriNet |
getNet()
Gets the stored Petri net or null.
|
TransitionSystem |
getReachabilityLTS()
Either gets the stored transition system or, if a Petri net is stored, the reachability graph of the stored
Petri net.
|
TransitionSystem |
getTs()
Gets the stored labeled transition system or null.
|
public PetriNetOrTransitionSystem(PetriNet net)
net - the Petri netpublic PetriNetOrTransitionSystem(TransitionSystem ts)
ts - the labeled transition systempublic PetriNet getNet()
public TransitionSystem getTs()
public TransitionSystem getReachabilityLTS() throws UnboundedException
UnboundedException - If the stored Petri net is unbounded.public TransitionSystem getCoverabilityLTS()