Skip to main content
P2 Engine
Advancing the state-of-the-art knowledge
Search form
Search
Main menu
Home
You are here
Home
»
P2Schedule
»
Activity constraints
Navigation
Installation
Download examples
FAQ
Release Info
P2Reader
P2Generator
P2Project
P2Schedule
new
reset_schedule_object
put_batch_calculator_on
put_batch_calculator_off
copy_constructor
set_base_schedule
Activity information
Activity network
Activity constraints
change_constraint_hardness
get_constraint_hardness
remove_constraint_value
change_constraint_value
get_asap_alap
get_readytime
get_duedate
get_lockedtime
remove_all_constraints
change_activity_constraint_weight
Critical path scheduling
Resource allocation
Resource leveling
Baseline schedule
P2Resource
P2Simulator
P2Tracking
Yet another project from
get_duedate
Get due date value for an activity.
Due dates impose 'start/finish no later than' constraints on activity actID, as follows:
Due Start: Activity actID cannot start later than the return value
Due Finish: Activity actID cannot finish later than the return value
Parameters:
I/O
Type
Name
Description
Input
integer
actID
ID of the activity
Input
integer
start/finish
0 (Due Start) or 1 (Due Finish)
Ouput
integer
time
due date value or 99999999 if no due date is imposed
Learn More:
Step inside
PMKC
.
Example:
function
(
)
io.write
(
'
\n
'
)
end
Class:
P2Schedule