allocateNormalAllocate a scarce resoure using a normal priority distribution |
This information is part of the Business Simulation Library (BSL). Please support this work and ► donate.
The function returns the fraction of capacity or demand that matches the allocated amount of a scarce resource given the clearing attractiveness x
, the attractiveness a
(e.g., utility), and the width w = 6σ
of a normal distribution function that describes the priority profile for the recipient.
Functions.allocateNormal(x, a, w);
Functions.allocateNormal(3.5, 5, 3); // 1.0 Functions.allocateNormal(5.0, 5, 3); // 0.5 Functions.allocateNormal(6.5, 5, 3); // 0.0
x |
Type: Real Description: Clearing attractiveness |
---|---|
a |
Type: Real Description: Attractiveness of recipient |
w |
Type: Real Description: Width of distribution (i.e., six times the standard deviation) |
y |
Type: Real Description: Fraction of total capacity or demand allocated to the recipient |
---|