Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
Class parsing tours (solution) data in CVRPlib format. More...
#include <tsplib_parser.h>
Public Member Functions | |
CVRPToursParser () | |
bool | LoadFile (const std::string &file_name) |
Loads and parses a given tours file. | |
const std::vector< std::vector< int > > & | tours () const |
Returns a vector corresponding to the sequence of nodes of tours. | |
int64_t | cost () const |
Class parsing tours (solution) data in CVRPlib format.
Definition at line 235 of file tsplib_parser.h.
operations_research::CVRPToursParser::CVRPToursParser | ( | ) |
Definition at line 817 of file tsplib_parser.cc.
|
inline |
Definition at line 242 of file tsplib_parser.h.
bool operations_research::CVRPToursParser::LoadFile | ( | const std::string & | file_name | ) |
Loads and parses a given tours file.
Definition at line 821 of file tsplib_parser.cc.
|
inline |
Returns a vector corresponding to the sequence of nodes of tours.
Definition at line 241 of file tsplib_parser.h.