public class CoverabilityGraph
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
int |
calculateNodes()
Calculate all nodes of the coverability graph.
|
static CoverabilityGraph |
get(PetriNet pn)
Construct the coverability graph for a given Petri net.
|
java.lang.Iterable<CoverabilityGraphEdge> |
getEdges()
Return an iterable for all edges in this coverability graph.
|
CoverabilityGraphNode |
getInitialNode()
Get the initial node of this coverability graph.
|
java.lang.Iterable<CoverabilityGraphNode> |
getNodes()
Return an iterable for all nodes in this coverability graph.
|
static CoverabilityGraph |
getReachabilityGraph(PetriNet pn)
Construct the reachability graph for a given Petri net.
|
TransitionSystem |
toCoverabilityLTS()
Turn this coverability graph into a labeled transition system.
|
TransitionSystem |
toReachabilityLTS()
Turn this coverability graph into a labeled transition system.
|
public static CoverabilityGraph get(PetriNet pn)
pn - The Petri net whose coverability graph is wanted.public static CoverabilityGraph getReachabilityGraph(PetriNet pn)
pn - The Petri net whose coverability graph is wanted.public int calculateNodes()
public CoverabilityGraphNode getInitialNode()
public java.lang.Iterable<CoverabilityGraphNode> getNodes()
public java.lang.Iterable<CoverabilityGraphEdge> getEdges()
public TransitionSystem toReachabilityLTS() throws UnboundedException
UnboundedException - This exception is thrown when the Petri net is unbounded.For a version of this which does not reject unbounded nets.public TransitionSystem toCoverabilityLTS()
For a version of this which rejects unbounded nets.