Therefore, a random number, r1 Að0; 1Þ, is determined by the algorithm. If this number is smaller
than or equal to the randomness index, RIA½0; 1, determined by the user at the beginning and given as an input to the algorithm ðr1rRIÞ, a random task is selected among the available ones.