OR-Tools  9.6
SparseBitset< IntegerType >

Detailed Description

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

Definition at line 754 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 SetUnsafe (IntegerType index)
 
void Clear (IntegerType index)
 
int NumberOfSetCallsWithDifferentArguments () const
 
const std::vector< IntegerType > & PositionsSetAtLeastOnce () const
 
void NotifyAllClear ()
 
Bitset64< IntegerType >::ConstView const_view () const
 

Constructor & Destructor Documentation

◆ SparseBitset() [1/2]

SparseBitset ( )
inline

Definition at line 756 of file bitset.h.

◆ SparseBitset() [2/2]

SparseBitset ( IntegerType  size)
inlineexplicit

Definition at line 757 of file bitset.h.

Member Function Documentation

◆ Clear()

void Clear ( IntegerType  index)
inline

Definition at line 802 of file bitset.h.

◆ ClearAll()

void ClearAll ( )
inline

Definition at line 763 of file bitset.h.

◆ ClearAndResize()

void ClearAndResize ( IntegerType  size)
inline

Definition at line 767 of file bitset.h.

◆ const_view()

Bitset64<IntegerType>::ConstView const_view ( ) const
inline

Definition at line 823 of file bitset.h.

◆ NotifyAllClear()

void NotifyAllClear ( )
inline

Definition at line 816 of file bitset.h.

◆ NumberOfSetCallsWithDifferentArguments()

int NumberOfSetCallsWithDifferentArguments ( ) const
inline

Definition at line 803 of file bitset.h.

◆ operator[]()

bool operator[] ( IntegerType  index) const
inline

Definition at line 791 of file bitset.h.

◆ PositionsSetAtLeastOnce()

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

Definition at line 806 of file bitset.h.

◆ Resize()

void Resize ( IntegerType  size)
inline

Definition at line 778 of file bitset.h.

◆ Set()

void Set ( IntegerType  index)
inline

Definition at line 792 of file bitset.h.

◆ SetUnsafe()

void SetUnsafe ( IntegerType  index)
inline

Definition at line 798 of file bitset.h.

◆ size()

IntegerType size ( ) const
inline

Definition at line 758 of file bitset.h.

◆ SparseClearAll()

void SparseClearAll ( )
inline

Definition at line 759 of file bitset.h.


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