| Modifier and Type | Method and Description |
|---|---|
Marking |
fire(Marking m)
Fires this transition under a given marking.
|
java.lang.String |
getLabel()
Gets the label of this Transition.
|
java.util.Set<Place> |
getPostset()
Gets the postset for this transition.
|
java.util.Set<Place> |
getPreset()
Gets the preset for this transition.
|
boolean |
isFireable(Marking m)
Checks if the transition is fireable under a given marking.
|
void |
setLabel(java.lang.String l)
Sets the label of the Transition.
|
getGraph, getId, getNeighboringEdges, getPostsetEdges, getPostsetNodes, getPresetEdges, getPresetNodes, toStringcopyExtensions, getCopyExtensions, getExtension, getExtensions, getExtensionsWithoutProperty, getExtensionsWithProperty, getWriteToFileExtensions, hasExtension, putExtension, putExtension, removeExtensionclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetExtension, putExtension, removeExtensionpublic java.lang.String getLabel()
public void setLabel(java.lang.String l)
l - the label to set.public boolean isFireable(Marking m)
m - the marking of the petrinet.public Marking fire(Marking m)
m - the marking.public java.util.Set<Place> getPreset()
public java.util.Set<Place> getPostset()