OR-Tools  8.2
SharedBoundsManager

Detailed Description

Definition at line 356 of file synchronization.h.

Public Member Functions

 SharedBoundsManager (const CpModelProto &model_proto)
 
void ReportPotentialNewBounds (const CpModelProto &model_proto, const std::string &worker_name, const std::vector< int > &variables, const std::vector< int64 > &new_lower_bounds, const std::vector< int64 > &new_upper_bounds)
 
int RegisterNewId ()
 
void GetChangedBounds (int id, std::vector< int > *variables, std::vector< int64 > *new_lower_bounds, std::vector< int64 > *new_upper_bounds)
 
void Synchronize ()
 

Constructor & Destructor Documentation

◆ SharedBoundsManager()

SharedBoundsManager ( const CpModelProto &  model_proto)
explicit

Definition at line 621 of file synchronization.cc.

Member Function Documentation

◆ GetChangedBounds()

void GetChangedBounds ( int  id,
std::vector< int > *  variables,
std::vector< int64 > *  new_lower_bounds,
std::vector< int64 > *  new_upper_bounds 
)

Definition at line 707 of file synchronization.cc.

◆ RegisterNewId()

int RegisterNewId ( )

Definition at line 690 of file synchronization.cc.

◆ ReportPotentialNewBounds()

void ReportPotentialNewBounds ( const CpModelProto &  model_proto,
const std::string &  worker_name,
const std::vector< int > &  variables,
const std::vector< int64 > &  new_lower_bounds,
const std::vector< int64 > &  new_upper_bounds 
)

Definition at line 638 of file synchronization.cc.

◆ Synchronize()

void Synchronize ( )

Definition at line 677 of file synchronization.cc.


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