OR-Tools  9.6
DimensionChecker

Detailed Description

Definition at line 3370 of file constraint_solveri.h.

Classes

struct  ExtendedInterval
 
struct  Interval
 

Public Member Functions

 DimensionChecker (const PathState *path_state, std::vector< Interval > path_capacity, std::vector< int > path_class, std::vector< std::function< Interval(int64_t, int64_t)>> demand_per_path_class, std::vector< Interval > node_capacity, int min_range_size_for_riq=kOptimalMinRangeSizeForRIQ)
 
bool Check () const
 
void Commit ()
 

Static Public Attributes

static constexpr int kOptimalMinRangeSizeForRIQ = 4
 

Constructor & Destructor Documentation

◆ DimensionChecker()

DimensionChecker ( const PathState path_state,
std::vector< Interval path_capacity,
std::vector< int >  path_class,
std::vector< std::function< Interval(int64_t, int64_t)>>  demand_per_path_class,
std::vector< Interval node_capacity,
int  min_range_size_for_riq = kOptimalMinRangeSizeForRIQ 
)

Definition at line 3050 of file local_search.cc.

Member Function Documentation

◆ Check()

bool Check ( ) const

Definition at line 3077 of file local_search.cc.

◆ Commit()

void Commit ( )

Definition at line 3150 of file local_search.cc.

Member Data Documentation

◆ kOptimalMinRangeSizeForRIQ

constexpr int kOptimalMinRangeSizeForRIQ = 4
staticconstexpr

Definition at line 3406 of file constraint_solveri.h.


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