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