functionbenefitBaBConIn
Enabling Input Transition by Benefit and Branch and Bound
Extends from Modelica.Icons.Function (Icon for functions).
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | depth | ||
| Integer | nIn | number of input transitions | |
| Real[:] | benefit | enabling benefit of input transitions | |
| Integer[:] | arcWeight | arc weights of input transitions | |
| Real[:] | Quotient | benefit Quotient | |
| Integer | t | current token number | |
| Real | benefitMaxIn | theoretical benefit input | |
| Integer | maxTokens | maximum capacity | |
| Boolean[:] | TEinIn | enabled input transitions input | |
| Integer | TokenIn | used token input | |
| Real | benefitLimitIn | best valid benefit input | |
| Boolean[:] | TAein | active previous transitions which are already enabled by their input places | |
| Boolean[:] | disTransition | discrete input transition |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean[nIn] | TEinOut | enabled input transitions output | |
| Integer | TokenOut | used token output | |
| Real | benefitMaxOut | theoretical benefit output | |
| Boolean | valid | valid solution | |
| Real | benefitLimitOut | best valid benefit Output |