function benefitGreedyDisIn
extends Modelica.Icons.Function;
input Integer nIn "number of input transitions";
input Integer arcWeight[:] "arc weights of input transitions";
input Integer t "current token number";
input Integer maxTokens "maximum capacity";
input Boolean TAein[:] "active previous transitions which are already enabled by their input places";
input Real enablingBene[:] "enabling benefit of input transitions";
input Boolean disTransition[:] "type of input transitions";
output Boolean TEin[nIn] "enabled input transitions";
end benefitGreedyDisIn;