OR-Tools  9.6
PdTspParser

Detailed Description

Definition at line 29 of file pdtsp_parser.h.

Public Member Functions

 PdTspParser ()
 
 ~PdTspParser ()=default
 
bool LoadFile (const std::string &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()

Definition at line 43 of file pdtsp_parser.cc.

◆ ~PdTspParser()

~PdTspParser ( )
default

Member Function Documentation

◆ DeliveryFromPickup()

int DeliveryFromPickup ( int  index) const
inline

Definition at line 42 of file pdtsp_parser.h.

◆ depot()

int depot ( ) const
inline

Definition at line 36 of file pdtsp_parser.h.

◆ Distances()

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

Definition at line 53 of file pdtsp_parser.cc.

◆ IsPickup()

bool IsPickup ( int  index) const
inline

Definition at line 40 of file pdtsp_parser.h.

◆ LoadFile()

bool LoadFile ( const std::string &  file_name)

Definition at line 45 of file pdtsp_parser.cc.

◆ Size()

int Size ( ) const
inline

Definition at line 38 of file pdtsp_parser.h.


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