Get the time sensitivity information for an activity.

Time sensitivity is measured by three sensitivity measures, as follows:

- Criticality index: the probability that the activity lies on the critical path.
- Significance index: Measures the relative importance of an activity taking the activity duration, its slack and the expected project duration into account.
- Schedule sensitivity index: Measures the relative importance of an activity taking the CI into account.
- Cruciality index (r): correlation between the activity duration and the total project duration using the Pearson's product-moment correlation coefficient.
- Cruciality index (rho): correlation between the activity duration and the total project duration using the Spearman's rank correlation coefficient.
- Cruciality index (tau): correlation between the activity duration and the total project duration using the Kendall's tau rank correlation coefficient.

These sensitivity measures are only available when the sensitivity parameter of the P2Simulator:run_simulation has been set to 1 during its execution.

Parameters:

I/O |
Type |
Name |
Description |
---|---|---|---|

input | integer | ID | activity ID |

output | float | CI | criticality index |

output | float | SI | significance index |

output | float | SSI | schedule sensitivity index |

output | float | CRI(r) | cruciality index using Pearson’s product moment |

output | float | CRI(rho) | cruciality index using Spearman's rank correlation |

output | float | CRI(tau) | cruciality index using Kendall's tau rank correlation |

Learn More:

Step inside PMKC.

Example:

function ()

io.write('\n')

end

io.write('\n')

end

Class:

P2Simulator