function decreasingFactor
parameter input Integer nIn "number of input transitions";
parameter input Integer nOut "number of output transitions";
input Real t "marking";
input Real minMarks "minimum capacity";
input Real maxMarks "maximum capacity";
input Real speedIn "input speed";
input Real speedOut "output speed";
input Real maxSpeedIn[:] "maximum speeds of input transitions";
input Real maxSpeedOut[:] "maximum speeds of output transitions";
input Real prelimSpeedIn[:] "preliminary speeds of input transitions";
input Real prelimSpeedOut[:] "preliminary speeds of output transitions";
input Real arcWeightIn[:] "arc weights of input transitions";
input Real arcWeightOut[:] "arc weights of output transitions";
input Boolean firingIn[:] "firability of input transitions";
input Boolean firingOut[:] "firability of output transitions";
output Real decFactorIn[nIn] "decreasing factors for input transitions";
output Real decFactorOut[nOut] "decreasing factors for output transitions";
end decreasingFactor;