Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
operations_research::scheduling::rcpsp::RcpspParser Class Reference

#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.
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ RcpspParser()

operations_research::scheduling::rcpsp::RcpspParser::RcpspParser ( )

Definition at line 32 of file rcpsp_parser.cc.

Member Function Documentation

◆ ParseFile()

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.

◆ problem()

::operations_research::scheduling::rcpsp::RcpspProblem operations_research::scheduling::rcpsp::RcpspParser::problem ( ) const
inline

We keep the fully qualified name for swig.

Definition at line 39 of file rcpsp_parser.h.


The documentation for this class was generated from the following files: