OR-Tools  9.6
TspTWParserfinal

Detailed Description

Definition at line 33 of file tsptw_parser.h.

Public Member Functions

 TspTWParser ()
 
bool LoadFile (const std::string &file_name)
 
const std::function< double(int, int)> & distance_function () const
 
const std::function< double(int, int)> & time_function () const
 
int depot () const
 
int size () const
 
double total_service_time () const
 
const std::vector< Coordinates2< double > > & coordinates () const
 
const std::vector< SimpleTimeWindow< double > > & time_windows () const
 
const std::vector< double > & service_times () const
 

Constructor & Destructor Documentation

◆ TspTWParser()

Definition at line 61 of file tsptw_parser.cc.

Member Function Documentation

◆ coordinates()

const std::vector<Coordinates2<double> >& coordinates ( ) const
inline

Definition at line 57 of file tsptw_parser.h.

◆ depot()

int depot ( ) const
inline

Definition at line 51 of file tsptw_parser.h.

◆ distance_function()

const std::function<double(int, int)>& distance_function ( ) const
inline

Definition at line 42 of file tsptw_parser.h.

◆ LoadFile()

bool LoadFile ( const std::string &  file_name)

Definition at line 68 of file tsptw_parser.cc.

◆ service_times()

const std::vector<double>& service_times ( ) const
inline

Definition at line 65 of file tsptw_parser.h.

◆ size()

int size ( ) const
inline

Definition at line 53 of file tsptw_parser.h.

◆ time_function()

const std::function<double(int, int)>& time_function ( ) const
inline

Definition at line 47 of file tsptw_parser.h.

◆ time_windows()

const std::vector<SimpleTimeWindow<double> >& time_windows ( ) const
inline

Definition at line 61 of file tsptw_parser.h.

◆ total_service_time()

double total_service_time ( ) const
inline

Definition at line 55 of file tsptw_parser.h.


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