C++ Reference

C++ Reference: Routing

Detailed Description

Definition at line 273 of file routing.h.

Classes

struct  DimensionCost
 SUBTLE: The vehicle's fixed cost is skipped on purpose here, because we can afford to do so: More...
 

Public Member Functions

 CostClass (int evaluator_index)
 

Static Public Member Functions

static bool LessThan (const CostClass &a, const CostClass &b)
 Comparator for STL containers and algorithms. More...
 

Public Attributes

int evaluator_index = 0
 Index of the arc cost evaluator, registered in the RoutingModel class. More...
 
std::vector< DimensionCostdimension_transit_evaluator_class_and_cost_coefficient
 

Constructor & Destructor Documentation

◆ CostClass()

CostClass ( int  evaluator_index)
inlineexplicit

Definition at line 311 of file routing.h.

Member Function Documentation

◆ LessThan()

static bool LessThan ( const CostClass a,
const CostClass b 
)
inlinestatic

Comparator for STL containers and algorithms.

Definition at line 315 of file routing.h.

Member Data Documentation

◆ dimension_transit_evaluator_class_and_cost_coefficient

std::vector<DimensionCost> dimension_transit_evaluator_class_and_cost_coefficient

Definition at line 309 of file routing.h.

◆ evaluator_index

int evaluator_index = 0

Index of the arc cost evaluator, registered in the RoutingModel class.

Definition at line 275 of file routing.h.


The documentation for this struct was generated from the following file: