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

Detailed Description

Definition at line 30 of file pdtsp_parser.h.

#include <pdtsp_parser.h>

Public Member Functions

 PdTspParser ()
 ~PdTspParser ()=default
bool LoadFile (absl::string_view file_name)
int depot () const
int Size () const
bool IsPickup (int index) const
int DeliveryFromPickup (int index) const
std::function< int64_t(int, int)> Distances () const

Constructor & Destructor Documentation

◆ PdTspParser()

operations_research::routing::PdTspParser::PdTspParser ( )

Definition at line 30 of file pdtsp_parser.cc.

◆ ~PdTspParser()

operations_research::routing::PdTspParser::~PdTspParser ( )
default

Member Function Documentation

◆ DeliveryFromPickup()

int operations_research::routing::PdTspParser::DeliveryFromPickup ( int index) const
inline

Definition at line 43 of file pdtsp_parser.h.

◆ depot()

int operations_research::routing::PdTspParser::depot ( ) const
inline

Definition at line 37 of file pdtsp_parser.h.

◆ Distances()

std::function< int64_t(int, int)> operations_research::routing::PdTspParser::Distances ( ) const

Definition at line 40 of file pdtsp_parser.cc.

◆ IsPickup()

bool operations_research::routing::PdTspParser::IsPickup ( int index) const
inline

Definition at line 41 of file pdtsp_parser.h.

◆ LoadFile()

bool operations_research::routing::PdTspParser::LoadFile ( absl::string_view file_name)

Definition at line 32 of file pdtsp_parser.cc.

◆ Size()

int operations_research::routing::PdTspParser::Size ( ) const
inline

Definition at line 39 of file pdtsp_parser.h.


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