functionbenefitGreedyConIn
Enabling Input Transition by Benefit and Greedy
Extends from Modelica.Icons.Function (Icon for functions).
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | nIn | number of input transitions | |
| Real[:] | arcWeight | arc weights of input transitions | |
| Real | t | current token number | |
| Real | maxTokens | maximum capacity | |
| Boolean[:] | TAein | active previous transitions which are already enabled by their input places | |
| Real[:] | enablingBene | enabling benefit of input transitions | |
| Boolean[:] | disTransition | type of input transitions |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean[nIn] | TEin | enabled input transitions |