Definition at line 70 of file carp_parser.h.
 
#include <carp_parser.h>
◆ CarpParser() [1/2]
      
        
          | operations_research::routing::CarpParser::CarpParser | ( |  | ) |  | 
      
 
 
◆ CarpParser() [2/2]
  
  | 
        
          | operations_research::routing::CarpParser::CarpParser | ( | const CarpParser & |  | ) |  |  | delete | 
 
 
◆ capacity()
  
  | 
        
          | int64_t operations_research::routing::CarpParser::capacity | ( |  | ) | const |  | inline | 
 
Returns the capacity of the vehicles. 
Definition at line 118 of file carp_parser.h.
 
 
◆ comment()
  
  | 
        
          | const std::string & operations_research::routing::CarpParser::comment | ( |  | ) | const |  | inline | 
 
Returns the comment of the instance being solved, typically an upper bound. 
Definition at line 85 of file carp_parser.h.
 
 
◆ depot()
  
  | 
        
          | int64_t operations_research::routing::CarpParser::depot | ( |  | ) | const |  | inline | 
 
Returns the index of the depot. 
Definition at line 87 of file carp_parser.h.
 
 
◆ GetServicing() [1/2]
  
  | 
        
          | int64_t operations_research::routing::CarpParser::GetServicing | ( | Edge | edge | ) | const |  | inline | 
 
Returns the servicing for an edge. Only a subset of edges have a servicing need. 
Definition at line 141 of file carp_parser.h.
 
 
◆ GetServicing() [2/2]
  
  | 
        
          | int64_t operations_research::routing::CarpParser::GetServicing | ( | int64_t | tail, |  
          |  |  | int64_t | head ) const |  | inline | 
 
 
◆ GetTraversingCost() [1/2]
  
  | 
        
          | int64_t operations_research::routing::CarpParser::GetTraversingCost | ( | Edge | edge | ) | const |  | inline | 
 
Returns the traversing cost for an edge. All edges are supposed to have a traversing cost. 
Definition at line 122 of file carp_parser.h.
 
 
◆ GetTraversingCost() [2/2]
  
  | 
        
          | int64_t operations_research::routing::CarpParser::GetTraversingCost | ( | int64_t | tail, |  
          |  |  | int64_t | head ) const |  | inline | 
 
 
◆ HasServicingNeed() [1/2]
  
  | 
        
          | int64_t operations_research::routing::CarpParser::HasServicingNeed | ( | Edge | edge | ) | const |  | inline | 
 
Checks whether this edge requires servicing. 
Definition at line 132 of file carp_parser.h.
 
 
◆ HasServicingNeed() [2/2]
  
  | 
        
          | int64_t operations_research::routing::CarpParser::HasServicingNeed | ( | int64_t | tail, |  
          |  |  | int64_t | head ) const |  | inline | 
 
 
◆ LoadFile()
      
        
          | bool operations_research::routing::CarpParser::LoadFile | ( | absl::string_view | file_name | ) |  | 
      
 
Loads instance from a file into this parser object. 
Definition at line 48 of file carp_parser.cc.
 
 
◆ name()
  
  | 
        
          | const std::string & operations_research::routing::CarpParser::name | ( |  | ) | const |  | inline | 
 
Returns the name of the instance being solved. 
Definition at line 83 of file carp_parser.h.
 
 
◆ NumberOfEdges()
  
  | 
        
          | int64_t operations_research::routing::CarpParser::NumberOfEdges | ( |  | ) | const |  | inline | 
 
Returns the number of edges in the current routing problem, with or without servicing required. 
Definition at line 92 of file carp_parser.h.
 
 
◆ NumberOfEdgesWithoutServicing()
  
  | 
        
          | int64_t operations_research::routing::CarpParser::NumberOfEdgesWithoutServicing | ( |  | ) | const |  | inline | 
 
Returns the number of edges in the current routing problem that do not require servicing. 
Definition at line 102 of file carp_parser.h.
 
 
◆ NumberOfEdgesWithServicing()
  
  | 
        
          | int64_t operations_research::routing::CarpParser::NumberOfEdgesWithServicing | ( |  | ) | const |  | inline | 
 
Returns the number of edges in the current routing problem that require servicing. 
Definition at line 97 of file carp_parser.h.
 
 
◆ NumberOfNodes()
  
  | 
        
          | int64_t operations_research::routing::CarpParser::NumberOfNodes | ( |  | ) | const |  | inline | 
 
Returns the number of nodes in the current routing problem. 
Definition at line 89 of file carp_parser.h.
 
 
◆ NumberOfVehicles()
  
  | 
        
          | int64_t operations_research::routing::CarpParser::NumberOfVehicles | ( |  | ) | const |  | inline | 
 
Returns the maximum number of vehicles to use. 
Definition at line 116 of file carp_parser.h.
 
 
◆ operator=()
◆ servicing_demands()
Returns the servicing of the edges in the current routing problem. 
Definition at line 108 of file carp_parser.h.
 
 
◆ TotalServicingCost()
  
  | 
        
          | int64_t operations_research::routing::CarpParser::TotalServicingCost | ( |  | ) | const |  | inline | 
 
Returns the total servicing cost for all arcs. 
Definition at line 106 of file carp_parser.h.
 
 
◆ traversing_costs()
Returns the traversing costs of the edges in the current routing problem. 
Definition at line 112 of file carp_parser.h.
 
 
The documentation for this class was generated from the following files: