OR-Tools  8.2
SparseBitset< IntegerType >

Detailed Description

template<typename IntegerType = int64>
class operations_research::SparseBitset< IntegerType >

Definition at line 765 of file bitset.h.

Public Member Functions

 SparseBitset ()
 
 SparseBitset (IntegerType size)
 
IntegerType size () const
 
void SparseClearAll ()
 
void ClearAll ()
 
void ClearAndResize (IntegerType size)
 
void Resize (IntegerType size)
 
bool operator[] (IntegerType index) const
 
void Set (IntegerType index)
 
void Clear (IntegerType index)
 
int NumberOfSetCallsWithDifferentArguments () const
 
const std::vector< IntegerType > & PositionsSetAtLeastOnce () const
 
void NotifyAllClear ()
 

Constructor & Destructor Documentation

◆ SparseBitset() [1/2]

SparseBitset ( )
inline

Definition at line 767 of file bitset.h.

◆ SparseBitset() [2/2]

SparseBitset ( IntegerType  size)
inlineexplicit

Definition at line 768 of file bitset.h.

Member Function Documentation

◆ Clear()

void Clear ( IntegerType  index)
inline

Definition at line 809 of file bitset.h.

◆ ClearAll()

void ClearAll ( )
inline

Definition at line 774 of file bitset.h.

◆ ClearAndResize()

void ClearAndResize ( IntegerType  size)
inline

Definition at line 778 of file bitset.h.

◆ NotifyAllClear()

void NotifyAllClear ( )
inline

Definition at line 823 of file bitset.h.

◆ NumberOfSetCallsWithDifferentArguments()

int NumberOfSetCallsWithDifferentArguments ( ) const
inline

Definition at line 810 of file bitset.h.

◆ operator[]()

bool operator[] ( IntegerType  index) const
inline

Definition at line 802 of file bitset.h.

◆ PositionsSetAtLeastOnce()

const std::vector<IntegerType>& PositionsSetAtLeastOnce ( ) const
inline

Definition at line 813 of file bitset.h.

◆ Resize()

void Resize ( IntegerType  size)
inline

Definition at line 789 of file bitset.h.

◆ Set()

void Set ( IntegerType  index)
inline

Definition at line 803 of file bitset.h.

◆ size()

IntegerType size ( ) const
inline

Definition at line 769 of file bitset.h.

◆ SparseClearAll()

void SparseClearAll ( )
inline

Definition at line 770 of file bitset.h.


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