Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
operations_research::routing::TspLibTourParser Class Referencefinal

Detailed Description

Definition at line 199 of file tsplib_parser.h.

#include <tsplib_parser.h>

Public Member Functions

 TspLibTourParser ()
absl::Status LoadFile (absl::string_view file_name)
const std::vector< int > & tour () const
int size () const
const std::string & comments () const

Constructor & Destructor Documentation

◆ TspLibTourParser()

operations_research::routing::TspLibTourParser::TspLibTourParser ( )

Definition at line 777 of file tsplib_parser.cc.

Member Function Documentation

◆ comments()

const std::string & operations_research::routing::TspLibTourParser::comments ( ) const
inline

Definition at line 209 of file tsplib_parser.h.

◆ LoadFile()

absl::Status operations_research::routing::TspLibTourParser::LoadFile ( absl::string_view file_name)

Definition at line 779 of file tsplib_parser.cc.

◆ size()

int operations_research::routing::TspLibTourParser::size ( ) const
inline

Definition at line 207 of file tsplib_parser.h.

◆ tour()

const std::vector< int > & operations_research::routing::TspLibTourParser::tour ( ) const
inline

Definition at line 205 of file tsplib_parser.h.


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