Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
operations_research::RoutingModel::CostClass Struct Reference

Detailed Description

Definition at line 300 of file routing.h.

#include <routing.h>

Classes

struct  DimensionCost

Public Member Functions

 CostClass (int evaluator_index)

Public Attributes

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

Friends

bool operator== (const CostClass &c1, const CostClass &c2)
template<typename H>
AbslHashValue (H h, const CostClass &c)

Constructor & Destructor Documentation

◆ CostClass()

operations_research::RoutingModel::CostClass::CostClass ( int evaluator_index)
inlineexplicit

Definition at line 354 of file routing.h.

◆ AbslHashValue

template<typename H>
H AbslHashValue ( H h,
const CostClass & c )
friend

Definition at line 363 of file routing.h.

◆ operator==

bool operator== ( const CostClass & c1,
const CostClass & c2 )
friend

Definition at line 357 of file routing.h.

Member Data Documentation

◆ dimension_transit_evaluator_class_and_cost_coefficient

std::vector<DimensionCost> operations_research::RoutingModel::CostClass::dimension_transit_evaluator_class_and_cost_coefficient

Definition at line 352 of file routing.h.

◆ evaluator_index

int operations_research::RoutingModel::CostClass::evaluator_index = 0

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

Definition at line 302 of file routing.h.


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