new

Create a new P2Generator object and link it to a P2Project object and a P2Schedule object. 

Both the project P2Project and the P2Schedule object should have been generated using the P2Project:new and P2Schedule:new functions.

Parameters: 
I/O Type Name Description
input project project a P2Project object
input schedule baseline a P2Schedule object
Example: 
function ()
        io.write('\n')
end
Class: 
P2Generator