Class OutputArc
Object
|
+--OutputArc
- class
OutputArc
Creates a new OutputArc object.
Defined in OutputArc.js
|
Method Summary |
function
|
getInscription()
Returns the inscription of this arc.
|
function
|
getPlace()
Returns the place the arc ends in.
|
function
|
getTransition()
Returns the transition the arc starts from.
|
function
|
setInscription(inscr)
Sets the inscription of this arc.
|
<static> function
|
add(net, transition, place, inscription)
Adds a new OutputArc to the given net and connects place and transition.
|
<static> function
|
getFromTo(net, transition, place)
Tries to find an arc specified by its from- and to-node.
|
OutputArc
function OutputArc(javaObject)
Parameters:
javaObject - The java object to encapsulate
getInscription
function getInscription()
Returns the inscription of this arc.
getPlace
function getPlace()
Returns the place the arc ends in.
getTransition
function getTransition()
Returns the transition the arc starts from.
setInscription
function setInscription(inscr)
Sets the inscription of this arc.
Parameters:
inscr - The inscription to set.
add
<static> function add(net, transition, place, inscription)
Adds a new OutputArc to the given net and connects place and transition.
Parameters:
net - The net to add the input arc to.
transition - The Transition where this arc should start.
place - The place to end the output arc.
inscription - The inscription of this arc.
getFromTo
<static> function getFromTo(net, transition, place)
Tries to find an arc specified by its from- and to-node.
Parameters:
net - The net to search in.
transition - The transition the arc starts from.
place - The place the arc ends in.