functionbenefitGreedyDisOut
Enabling Output Transition by Benefit and Greedy
Extends from Modelica.Icons.Function (Icon for functions).
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | nOut | number of output transitions | |
| Integer[:] | arcWeight | arc weights of output transitions | |
| Integer | t | current token number | |
| Integer | minTokens | minimum capacity | |
| Boolean[:] | TAout | active output transitions with passed delay | |
| Real[:] | enablingBene | enabling benefit of output transitions | |
| Boolean[:] | disTransition | discrete output transition |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean[nOut] | TEout | enabled output transitions |