OR-Tools  8.2
Bitset64< IndexType >

Detailed Description

template<typename IndexType = int64>
class operations_research::Bitset64< IndexType >

Definition at line 410 of file bitset.h.

Classes

class  Iterator
 

Public Member Functions

 Bitset64 ()
 
 Bitset64 (IndexType size)
 
IndexType size () const
 
void PushBack (bool value)
 
void Resize (IndexType size)
 
void ClearAndResize (IndexType size)
 
void ClearAll ()
 
void Clear (IndexType i)
 
void ClearBucket (IndexType i)
 
void ClearTwoBits (IndexType i)
 
bool AreOneOfTwoBitsSet (IndexType i) const
 
bool IsSet (IndexType i) const
 
bool operator[] (IndexType i) const
 
void Set (IndexType i)
 
void Set (IndexType i, bool value)
 
void CopyBucket (const Bitset64< IndexType > &other, IndexType i)
 
template<typename OtherIndexType >
void SetContentFromBitset (const Bitset64< OtherIndexType > &other)
 
template<typename OtherIndexType >
void SetContentFromBitsetOfSameSize (const Bitset64< OtherIndexType > &other)
 
void Intersection (const Bitset64< IndexType > &other)
 
void Union (const Bitset64< IndexType > &other)
 
Iterator begin () const
 
Iterator end () const
 
void SetBitFromOtherBitSets (IndexType i, const Bitset64< IndexType > &other1, uint64 use1, const Bitset64< IndexType > &other2, uint64 use2)
 
std::string DebugString () const
 

Constructor & Destructor Documentation

◆ Bitset64() [1/2]

Bitset64 ( )
inline

Definition at line 412 of file bitset.h.

◆ Bitset64() [2/2]

Bitset64 ( IndexType  size)
inlineexplicit

Definition at line 413 of file bitset.h.

Member Function Documentation

◆ AreOneOfTwoBitsSet()

bool AreOneOfTwoBitsSet ( IndexType  i) const
inline

Definition at line 474 of file bitset.h.

◆ begin()

Iterator begin ( ) const
inline

Definition at line 634 of file bitset.h.

◆ Clear()

void Clear ( IndexType  i)
inline

Definition at line 453 of file bitset.h.

◆ ClearAll()

void ClearAll ( )
inline

Definition at line 450 of file bitset.h.

◆ ClearAndResize()

void ClearAndResize ( IndexType  size)
inline

Definition at line 436 of file bitset.h.

◆ ClearBucket()

void ClearBucket ( IndexType  i)
inline

Definition at line 460 of file bitset.h.

◆ ClearTwoBits()

void ClearTwoBits ( IndexType  i)
inline

Definition at line 467 of file bitset.h.

◆ CopyBucket()

void CopyBucket ( const Bitset64< IndexType > &  other,
IndexType  i 
)
inline

Definition at line 507 of file bitset.h.

◆ DebugString()

std::string DebugString ( ) const
inline

Definition at line 656 of file bitset.h.

◆ end()

Iterator end ( ) const
inline

Definition at line 635 of file bitset.h.

◆ Intersection()

void Intersection ( const Bitset64< IndexType > &  other)
inline

Definition at line 539 of file bitset.h.

◆ IsSet()

bool IsSet ( IndexType  i) const
inline

Definition at line 481 of file bitset.h.

◆ operator[]()

bool operator[] ( IndexType  i) const
inline

Definition at line 488 of file bitset.h.

◆ PushBack()

void PushBack ( bool  value)
inline

Definition at line 422 of file bitset.h.

◆ Resize()

void Resize ( IndexType  size)
inline

Definition at line 429 of file bitset.h.

◆ Set() [1/2]

void Set ( IndexType  i)
inline

Definition at line 491 of file bitset.h.

◆ Set() [2/2]

void Set ( IndexType  i,
bool  value 
)
inline

Definition at line 498 of file bitset.h.

◆ SetBitFromOtherBitSets()

void SetBitFromOtherBitSets ( IndexType  i,
const Bitset64< IndexType > &  other1,
uint64  use1,
const Bitset64< IndexType > &  other2,
uint64  use2 
)
inline

Definition at line 641 of file bitset.h.

◆ SetContentFromBitset()

void SetContentFromBitset ( const Bitset64< OtherIndexType > &  other)
inline

Definition at line 516 of file bitset.h.

◆ SetContentFromBitsetOfSameSize()

void SetContentFromBitsetOfSameSize ( const Bitset64< OtherIndexType > &  other)
inline

Definition at line 531 of file bitset.h.

◆ size()

IndexType size ( ) const
inline

Definition at line 419 of file bitset.h.

◆ Union()

void Union ( const Bitset64< IndexType > &  other)
inline

Definition at line 552 of file bitset.h.


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