17 #ifndef OR_TOOLS_DATA_RCPSP_PARSER_H_
18 #define OR_TOOLS_DATA_RCPSP_PARSER_H_
38 ::operations_research::data::rcpsp::RcpspProblem
problem()
const {
43 bool ParseFile(
const std::string& file_name);
59 void ProcessRcpspLine(
const std::string& line);
60 void ProcessPattersonLine(
const std::string& line);
61 void ProcessRcpspMaxLine(
const std::string& line);
62 void ReportError(
const std::string& line);
65 void SetNumDeclaredTasks(
int t);
66 int strtoint32(
const std::string& word);
67 int64 strtoint64(
const std::string& word);
69 std::string basedata_;
71 LoadStatus load_status_;
72 int num_declared_tasks_;
74 std::vector<std::vector<int> > temp_delays_;
75 std::vector<int> recipe_sizes_;
84 #endif // OR_TOOLS_DATA_RCPSP_PARSER_H_