get_asap_alap

Get the schedule direction for an activity.

The schedule direction of an activity actID can be one of the following types:

  • ASAP: Activity actID must be scheduled as soon as possible.
  • ALAP: Activity actID must be scheduled as late as possible.
Parameters: 
I/O Type Name Description
input integer actID ID of the activity
output integer direction 0 (ASAP) or 1 (ALAP)
Learn More: 
Example: 
function ()
        io.write('\n')
end
Class: 
P2Schedule