set_rs_percentage_early

Set the percentage of early activities for the random simulation.

This function should only be used when the scenario parameter of the P2Simulator:run_simulation function is set to 10 (i.e. random simulation). During each simulation run, a percentage of activities will have a duration smaller than their baseline duration, and the remaining percentage will have a simulated duration larger than their baseline duration. The maximum deviation below or above the baseline duration is defined in the P2Simulator:set_rs_max_deviation function.

Parameters: 
I/O Type Name Description
input integer percentage Value from 0 to 100
Example: 
function ()
        io.write('\n')
end
Class: 
P2Simulator