Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
#include <rcpsp_parser.h>
Public Member Functions | |
RcpspParser () | |
::operations_research::scheduling::rcpsp::RcpspProblem | problem () const |
We keep the fully qualified name for swig. | |
bool | ParseFile (const std::string &file_name) |
Returns false if an error occurred. | |
RCPSP parser. Parse a RCPSP problem and load it into a RcpspProblem proto. See description of the problem in ./rcpsp.proto
Definition at line 34 of file rcpsp_parser.h.
operations_research::scheduling::rcpsp::RcpspParser::RcpspParser | ( | ) |
Definition at line 32 of file rcpsp_parser.cc.
bool operations_research::scheduling::rcpsp::RcpspParser::ParseFile | ( | const std::string & | file_name | ) |
Returns false if an error occurred.
We use a temporary string as open source protobufs do not accept set_name(string_view).
Count the extra start and end tasks.
Definition at line 42 of file rcpsp_parser.cc.
|
inline |
We keep the fully qualified name for swig.
Definition at line 39 of file rcpsp_parser.h.