functionbenefitBaBDisOut
Enabling Output Transition by Benefit and Branch and Bound
Extends from Modelica.Icons.Function (Icon for functions).
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | depth | ||
| Integer | nOut | number of output transitions | |
| Real[:] | benefit | enabling benefit of output transitions | |
| Integer[:] | arcWeight | arc weights of output transitions | |
| Real[:] | Quotient | benefit Quotient | |
| Integer | t | current token number | |
| Real | benefitMaxIn | theoretical benefit input | |
| Integer | minTokens | minimum capacity | |
| Boolean[:] | TEoutIn | enabled output transitions input | |
| Integer | TokenIn | used token input | |
| Real | benefitLimitIn | best valid benefit input | |
| Boolean[:] | TAout | active output transitions with passed delay | |
| Boolean[:] | disTransition | discrete output transition |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean[nOut] | TEoutOut | enabled output transitions output | |
| Integer | TokenOut | used token output | |
| Real | benefitMaxOut | theoretical benefit output | |
| Boolean | valid | valid solution | |
| Real | benefitLimitOut | best valid benefit Output |