Check whether an activity lies on the critical path.
An activity is critical when its slack is equal to zero (see P2Schedule:get_slack function)
| I/O | Type | Name | Description |
|---|---|---|---|
| input | integer | ID | activity ID |
| output | integer | critical | 0 (not critical) or 1 (critical) |
Step inside PMKC.