OR-Tools  9.6
DynamicMaximum< Index >

Detailed Description

template<typename Index>
class operations_research::glop::DynamicMaximum< Index >

Definition at line 59 of file pricing.h.

Public Member Functions

 DynamicMaximum (absl::BitGenRef random)
 
void ClearAndResize (Index n)
 
Index GetMaximum ()
 
void Remove (Index position)
 
void AddOrUpdate (Index position, Fractional value)
 
void StartDenseUpdates ()
 
void DenseAddOrUpdate (Index position, Fractional value)
 
void Clear ()
 
Index Size () const
 
std::string StatString () const
 

Constructor & Destructor Documentation

◆ DynamicMaximum()

DynamicMaximum ( absl::BitGenRef  random)
inlineexplicit

Definition at line 62 of file pricing.h.

Member Function Documentation

◆ AddOrUpdate()

void AddOrUpdate ( Index  position,
Fractional  value 
)
inline

Definition at line 188 of file pricing.h.

◆ Clear()

void Clear ( )
inline

Definition at line 92 of file pricing.h.

◆ ClearAndResize()

void ClearAndResize ( Index  n)
inline

Definition at line 159 of file pricing.h.

◆ DenseAddOrUpdate()

void DenseAddOrUpdate ( Index  position,
Fractional  value 
)
inline

Definition at line 179 of file pricing.h.

◆ GetMaximum()

Index GetMaximum
inline

Definition at line 207 of file pricing.h.

◆ Remove()

void Remove ( Index  position)
inline

Definition at line 167 of file pricing.h.

◆ Size()

Index Size ( ) const
inline

Definition at line 93 of file pricing.h.

◆ StartDenseUpdates()

void StartDenseUpdates
inline

Definition at line 172 of file pricing.h.

◆ StatString()

std::string StatString ( ) const
inline

Definition at line 96 of file pricing.h.


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