OR-Tools  9.3
SparseBitset< IntegerType >

Detailed Description

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

Definition at line 771 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 773 of file bitset.h.

◆ SparseBitset() [2/2]

SparseBitset ( IntegerType  size)
inlineexplicit

Definition at line 774 of file bitset.h.

Member Function Documentation

◆ Clear()

void Clear ( IntegerType  index)
inline

Definition at line 815 of file bitset.h.

◆ ClearAll()

void ClearAll ( )
inline

Definition at line 780 of file bitset.h.

◆ ClearAndResize()

void ClearAndResize ( IntegerType  size)
inline

Definition at line 784 of file bitset.h.

◆ NotifyAllClear()

void NotifyAllClear ( )
inline

Definition at line 829 of file bitset.h.

◆ NumberOfSetCallsWithDifferentArguments()

int NumberOfSetCallsWithDifferentArguments ( ) const
inline

Definition at line 816 of file bitset.h.

◆ operator[]()

bool operator[] ( IntegerType  index) const
inline

Definition at line 808 of file bitset.h.

◆ PositionsSetAtLeastOnce()

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

Definition at line 819 of file bitset.h.

◆ Resize()

void Resize ( IntegerType  size)
inline

Definition at line 795 of file bitset.h.

◆ Set()

void Set ( IntegerType  index)
inline

Definition at line 809 of file bitset.h.

◆ size()

IntegerType size ( ) const
inline

Definition at line 775 of file bitset.h.

◆ SparseClearAll()

void SparseClearAll ( )
inline

Definition at line 776 of file bitset.h.


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