Definition at line 42 of file tsplib_parser.h.
#include <tsplib_parser.h>
◆ Types
| Enumerator |
|---|
| TSP | |
| ATSP | |
| SOP | |
| HCP | |
| CVRP | |
| TOUR | |
| UNDEFINED_TYPE | |
Definition at line 45 of file tsplib_parser.h.
◆ TspLibParser()
| operations_research::routing::TspLibParser::TspLibParser |
( |
| ) |
|
◆ BuildTourFromRoutes()
| std::string operations_research::routing::TspLibParser::BuildTourFromRoutes |
( |
absl::Span< const std::vector< int > > | routes | ) |
const |
◆ capacity()
| int64_t operations_research::routing::TspLibParser::capacity |
( |
| ) |
const |
|
inline |
◆ comments()
| const std::string & operations_research::routing::TspLibParser::comments |
( |
| ) |
const |
|
inline |
◆ coordinates()
| const std::vector< Coordinates3< double > > & operations_research::routing::TspLibParser::coordinates |
( |
| ) |
const |
|
inline |
◆ demands()
| const std::vector< int64_t > & operations_research::routing::TspLibParser::demands |
( |
| ) |
const |
|
inline |
◆ depot()
| int operations_research::routing::TspLibParser::depot |
( |
| ) |
const |
|
inline |
◆ edges()
| const std::vector< std::vector< int > > & operations_research::routing::TspLibParser::edges |
( |
| ) |
const |
|
inline |
◆ fixed_edges()
| std::set< std::pair< int, int > > operations_research::routing::TspLibParser::fixed_edges |
( |
| ) |
const |
|
inline |
◆ GetEdgeWeights()
| EdgeWeights operations_research::routing::TspLibParser::GetEdgeWeights |
( |
| ) |
const |
|
inline |
◆ LoadFile()
| absl::Status operations_research::routing::TspLibParser::LoadFile |
( |
absl::string_view | file_name | ) |
|
◆ max_distance()
| int64_t operations_research::routing::TspLibParser::max_distance |
( |
| ) |
const |
|
inline |
◆ name()
| const std::string & operations_research::routing::TspLibParser::name |
( |
| ) |
const |
|
inline |
◆ size()
| int operations_research::routing::TspLibParser::size |
( |
| ) |
const |
|
inline |
◆ SizeFromFile()
| absl::StatusOr< int > operations_research::routing::TspLibParser::SizeFromFile |
( |
absl::string_view | file_name | ) |
const |
◆ type()
| Types operations_research::routing::TspLibParser::type |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following files: