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

Detailed Description

Definition at line 57 of file lilim_parser.h.

#include <lilim_parser.h>

Public Member Functions

 LiLimParser ()=default
 LiLimParser (LiLimParser &)=delete
const LiLimParseroperator= (const LiLimParser &)=delete
bool LoadFile (absl::string_view file_name)
bool LoadFile (absl::string_view file_name, absl::string_view archive_name)
int Depot () const
int NumberOfNodes () const
int NumberOfVehicles () const
const std::vector< Coordinates2< int64_t > > & coordinates () const
std::optional< int > GetDelivery (int node) const
std::optional< int > GetPickup (int node) const
int64_t capacity () const
const std::vector< int64_t > & demands () const
const std::vector< SimpleTimeWindow< int64_t > > & time_windows () const
const std::vector< int64_t > & service_times () const
double GetDistance (int from, int to) const
double GetTravelTime (int from, int to) const

Constructor & Destructor Documentation

◆ LiLimParser() [1/2]

operations_research::routing::LiLimParser::LiLimParser ( )
default

◆ LiLimParser() [2/2]

operations_research::routing::LiLimParser::LiLimParser ( LiLimParser & )
delete

Member Function Documentation

◆ capacity()

int64_t operations_research::routing::LiLimParser::capacity ( ) const
inline

Definition at line 89 of file lilim_parser.h.

◆ coordinates()

const std::vector< Coordinates2< int64_t > > & operations_research::routing::LiLimParser::coordinates ( ) const
inline

Definition at line 81 of file lilim_parser.h.

◆ demands()

const std::vector< int64_t > & operations_research::routing::LiLimParser::demands ( ) const
inline

Definition at line 91 of file lilim_parser.h.

◆ Depot()

int operations_research::routing::LiLimParser::Depot ( ) const
inline

Definition at line 75 of file lilim_parser.h.

◆ GetDelivery()

std::optional< int > operations_research::routing::LiLimParser::GetDelivery ( int node) const

Definition at line 54 of file lilim_parser.cc.

◆ GetDistance()

double operations_research::routing::LiLimParser::GetDistance ( int from,
int to ) const
inline

Definition at line 99 of file lilim_parser.h.

◆ GetPickup()

std::optional< int > operations_research::routing::LiLimParser::GetPickup ( int node) const

Definition at line 60 of file lilim_parser.cc.

◆ GetTravelTime()

double operations_research::routing::LiLimParser::GetTravelTime ( int from,
int to ) const
inline

Definition at line 107 of file lilim_parser.h.

◆ LoadFile() [1/2]

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

Definition at line 35 of file lilim_parser.cc.

◆ LoadFile() [2/2]

bool operations_research::routing::LiLimParser::LoadFile ( absl::string_view file_name,
absl::string_view archive_name )

Definition at line 40 of file lilim_parser.cc.

◆ NumberOfNodes()

int operations_research::routing::LiLimParser::NumberOfNodes ( ) const
inline

Definition at line 77 of file lilim_parser.h.

◆ NumberOfVehicles()

int operations_research::routing::LiLimParser::NumberOfVehicles ( ) const
inline

Definition at line 79 of file lilim_parser.h.

◆ operator=()

const LiLimParser & operations_research::routing::LiLimParser::operator= ( const LiLimParser & )
delete

◆ service_times()

const std::vector< int64_t > & operations_research::routing::LiLimParser::service_times ( ) const
inline

Definition at line 97 of file lilim_parser.h.

◆ time_windows()

const std::vector< SimpleTimeWindow< int64_t > > & operations_research::routing::LiLimParser::time_windows ( ) const
inline

Definition at line 93 of file lilim_parser.h.


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