functionbenefitBaBConIn

Enabling Input Transition by Benefit and Branch and Bound

Extends from Modelica.Icons.Function (Icon for functions).

Inputs

TypeNameDefaultDescription
Integerdepth
IntegernInnumber of input transitions
Real[:]benefitenabling benefit of input transitions
Integer[:]arcWeightarc weights of input transitions
Real[:]Quotientbenefit Quotient
Integertcurrent token number
RealbenefitMaxIntheoretical benefit input
IntegermaxTokensmaximum capacity
Boolean[:]TEinInenabled input transitions input
IntegerTokenInused token input
RealbenefitLimitInbest valid benefit input
Boolean[:]TAeinactive previous transitions which are already enabled by their input places
Boolean[:]disTransitiondiscrete input transition

Outputs

TypeNameDefaultDescription
Boolean[nIn]TEinOutenabled input transitions output
IntegerTokenOutused token output
RealbenefitMaxOuttheoretical benefit output
Booleanvalidvalid solution
RealbenefitLimitOutbest valid benefit Output