read_patterson_file

Read the project and schedule data from a file in the Patterson format.

The Patterson format is widely used in the academic literature and contains information on project activity durations, precedence relations and renewable resources. More information on the data format structure can be found here. This function returns 0/1 if the file read was a failure/successful.

Parameters: 
I/O Type Name Description
input string filename name of the patterson file
output integer success 0 (failure) or 1 (successful)
Example: 
function ()
        io.write('\n')
end
Class: 
P2Reader