| Package | Description |
|---|---|
| uniol.apt.adt.pn |
Representation of Petri nets.
|
| uniol.apt.analysis.homogeneous | |
| uniol.apt.analysis.sideconditions |
| Modifier and Type | Method and Description |
|---|---|
Flow |
PetriNet.createFlow(Flow flow)
Creates a new flow in this petri net by copying the values from an existing arc.
|
Flow |
PetriNet.createFlow(Node source,
Node target)
Creates a new flow in this petri net with the given source, target and weight 1.
|
Flow |
PetriNet.createFlow(Node source,
Node target,
int weight)
Creates a new flow in this petri net with the given source, target and weight.
|
Flow |
PetriNet.createFlow(java.lang.String sourceId,
java.lang.String targetId)
Creates a new flow in this petri net with the given sourceId, targetId and weight 1.
|
Flow |
PetriNet.createFlow(java.lang.String sourceId,
java.lang.String targetId,
int weight)
Creates a new flow in this petri net with the given sourceId, targetId and weight.
|
Flow |
PetriNet.getFlow(Node source,
Node target)
Returns a flow with the given source and target.
|
Flow |
PetriNet.getFlow(java.lang.String sourceId,
java.lang.String targetId)
Returns a flow with the given source and target id.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<Flow> |
PetriNet.getEdges() |
java.util.Set<Flow> |
PetriNet.getPostsetEdges(Node node)
Retrieves a view of all edges beginning in the given node.
|
java.util.Set<Flow> |
PetriNet.getPostsetEdges(java.lang.String id)
Retrieves a view of all edges beginning in the node with the given id.
|
java.util.Set<Flow> |
PetriNet.getPresetEdges(Node node)
Retrieves a view of all edges targeting the given node.
|
java.util.Set<Flow> |
PetriNet.getPresetEdges(java.lang.String id)
Retrieves a view of all edges targeting the node with the given id.
|
| Modifier and Type | Method and Description |
|---|---|
Flow |
PetriNet.createFlow(Flow flow)
Creates a new flow in this petri net by copying the values from an existing arc.
|
void |
PetriNet.removeFlow(Flow flow)
* Removes a flow from this petri net.
|
| Modifier and Type | Method and Description |
|---|---|
Pair<Flow,Flow> |
Homogeneous.check(PetriNet net)
Checks whether a given Petri net is a homogeneous net.
|
Pair<Flow,Flow> |
Homogeneous.check(PetriNet net)
Checks whether a given Petri net is a homogeneous net.
|
| Modifier and Type | Method and Description |
|---|---|
Flow |
SideCondition.getPlaceToTransitionArc()
Gets the arc from place to transition.
|
Flow |
SideCondition.getTransitionToPlaceArc()
Gets the arc from transition to place.
|
| Constructor and Description |
|---|
SideCondition(Place p,
Transition t,
Flow placeToTransitionArc,
Flow transitionToPlaceArc)
Constructor for Sideconditon.
|