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 information
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
get_duration
change_duration
set_fixed_cost
set_variable_cost
get_fixed_cost
get_variable_cost
Activity network
Activity constraints
Critical path scheduling
Resource allocation
Resource leveling
Baseline schedule
P2Resource
P2Simulator
P2Tracking
Yet another project from
get_duration
Get the duration of an activity.
Parameters:
I/O
Type
Name
Description
input
integer
ID
activity ID
output
integer
duration
activity duration
Example:
function
(
)
io.write
(
'
\n
'
)
end
Class:
P2Schedule