public class RegionUtility
extends java.lang.Object
| Constructor and Description |
|---|
RegionUtility(SpanningTree<TransitionSystem,Arc,State> tree)
Construct a new RegionUtility.
|
RegionUtility(TransitionSystem ts)
Construct a new RegionUtility.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getEventIndex(java.lang.String event)
Get the index of the given event.
|
java.util.List<java.lang.String> |
getEventList()
Get the list of events of the underlying transition system.
|
int |
getNumberOfEvents()
Get the number of events.
|
java.util.List<java.math.BigInteger> |
getParikhVectorForEdge(Arc edge)
Get the Parikh vector for an edge.
|
java.util.List<java.math.BigInteger> |
getReachingParikhVector(State node) |
java.util.List<Region> |
getRegionBasis()
Calculate a basis of abstract regions for the LTS that this region utility belongs to.
|
SpanningTree<TransitionSystem,Arc,State> |
getSpanningTree()
Get the spanning tree on which this RegionUtility operates.
|
TransitionSystem |
getTransitionSystem()
Get the transition system on which this RegionUtility operatores.
|
public RegionUtility(SpanningTree<TransitionSystem,Arc,State> tree)
tree - A spanning tree for the given transition system.public RegionUtility(TransitionSystem ts)
ts - The TransitionSystem on which regions should be examined.public int getEventIndex(java.lang.String event)
event - The event whose index should be returned.public java.util.List<java.lang.String> getEventList()
public int getNumberOfEvents()
public SpanningTree<TransitionSystem,Arc,State> getSpanningTree()
public TransitionSystem getTransitionSystem()
public java.util.List<java.math.BigInteger> getReachingParikhVector(State node) throws UnreachableException
node - The node whose Parikh vector should be returned.UnreachableException - if the given state is unreachable from the initial statepublic java.util.List<java.math.BigInteger> getParikhVectorForEdge(Arc edge) throws UnreachableException
edge - The edge to examine.UnreachableException - if the given state is unreachable from the initial statepublic java.util.List<Region> getRegionBasis()