get_readytime

Get ready time value for an activity.

Ready times impose 'start/finish no earlier than' constraints on activity actID, as follows:

  • Ready Start: Activity actID cannot start earlier than the return value.
  • Ready Finish: Activity actID cannot finish earlier than the return value.
Parameters: 
I/O Type Name Description
input integer actID ID of the activity
input integer start/finish 0 (Ready Start) or 1 (Ready Finish)
output integer time time value or -1 if no ready time is imposed
Learn More: 

Step inside PMKC.

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