functionbenefitBaBConOut

Enabling Output Transition by Benefit and Branch and Bound

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

Inputs

TypeNameDefaultDescription
Integerdepth
IntegernOutnumber of output transitions
Real[:]benefitenabling benefit of output transitions
Integer[:]arcWeightarc weights of output transitions
Real[:]Quotientbenefit Quotient
Integertcurrent token number
RealbenefitMaxIntheoretical benefit input
IntegerminTokensminimum capacity
Boolean[:]TEoutInenabled output transitions input
IntegerTokenInused token input
RealbenefitLimitInbest valid benefit input
Boolean[:]TAoutactive output transitions with passed delay
Boolean[:]disTransitiondiscrete output transition

Outputs

TypeNameDefaultDescription
Boolean[nOut]TEoutOutenabled output transitions output
IntegerTokenOutused token output
RealbenefitMaxOuttheoretical benefit output
Booleanvalidvalid solution
RealbenefitLimitOutbest valid benefit Output