function preliminarySpeed
input Integer nIn "number of input places";
input Integer nOut "number of output places";
input Real arcWeightIn[:] "input arc weights";
input Real arcWeightOut[:] "output arc weights";
input Real speedSumIn[:] "input speed";
input Real speedSumOut[:] "output speed";
input Real maximumSpeed "maximum speed";
input Boolean weaklyInputActiveVec[:] "places that causes weakly input activation";
input Boolean weaklyOutputActiveVec[:] "places that causes weakly output activation";
output Real prelimSpeed "preliminary speed";
end preliminarySpeed;