Defining Probabilities ​
In the simulation algorithms Capacity Analysis and Workload Analysis, the performer assignment expression will be evaluated and the activity will be randomly (uniformly distributed) assigned to one of the resulting performers. The standard uniformly distributed random selection of the performer can however be influenced through the entry of probabilities in the performer assignment expression.
For this, use the following syntax:
{ _<AQL expression>_ _<Probability>_ **;** }
_<AQL expression>_ _<Probability>_
Example:
An activity should be assigned with a probability of 20% to a performer of the role "Clerk" and with a probability of 30% to a performer of the role "Secretary" and with a probability of 50% to a performer of the role "Temporary help".
Give the following performer assignment expression:
({"Clerk": "Role"} <- "has role") 0.2;({"Secretary": "Role"} <- "has role") 0.3;({"Temporary help": "Role"} <- "has role") 0.5
Attention
The single AQL expressions will be separated by the character ';' . There shall be no ';' at the end of the whole expression!
Hint
The sum of the probabilities must equal 1.