set_number_advanced_distributions

Set the number of breakpoints in the distribution function to define uncertainty in the duration of an activity.

A breakpoint is a time point where the slope of the distribution function changes. As an example, a triangular distribution used by PERT has three breakpoint

  • a = pessimistic estimate.
  • m = realistic estimate.
  • b = optimistic estimate.

This function can only be called when a Monte-Carlo object has been created using the P2Simulator:create_monte_carlo_object function.

Parameters: 
I/O Type Name Description
input integer ID activity ID
input integer breakpoints number of breakpoints
Learn More: 

Step inside PMKC.

Example: 
function ()
        io.write('\n')
end
Class: 
P2Simulator