get_cumulated_resource_cost

Get the cumulated cost for a resource at a given point in time.

The cumulated resource cost is equal to the total resource cost of all activities finished and the partial resource cost of activity in progress at the given time point. It excludes the fixed and variable activity costs that are not related to the use of the resource (see the P2Schedule:get_total_activity_cost function in which the activity duration of activities in progress is equal to the number of time units that the activity is in progress and is equal to zero for activities that have not started yet).

Parameters: 
I/O Type Name Description
input integer ID resource ID
input integer time point in time
Learn More: 

Step inside PMKC.

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