COPASI API
4.16.103
|
#include <CZeroSet.h>
Classes | |
class | CIndex |
Public Member Functions | |
CZeroSet (const size_t &index=0) | |
CZeroSet (const CZeroSet &src) | |
size_t | getNumberOfBits () const |
const size_t & | getNumberOfSetBits () const |
size_t | getNumberOfUnsetBits () const |
bool | isExtremeRay (const std::vector< CStepMatrixColumn * > &columns) const |
bool | isSet (const CIndex &index) const |
CZeroSet & | operator&= (const CZeroSet &rhs) |
bool | operator== (const CZeroSet &rhs) const |
bool | operator>= (const CZeroSet &rhs) const |
CZeroSet & | operator|= (const CZeroSet &rhs) |
void | setBit (const CIndex &index) |
void | unsetBit (const CIndex &index) |
~CZeroSet () | |
Static Public Member Functions | |
static CZeroSet | intersection (const CZeroSet &set1, const CZeroSet &set2) |
Private Member Functions | |
size_t | countSetBits (size_t bits) |
Private Attributes | |
CVector< size_t > | mBitSet |
size_t | mIgnoredBits |
size_t | mNumberSetBits |
Friends | |
std::ostream & | operator<< (std::ostream &, const CZeroSet &) |
Definition at line 30 of file CZeroSet.h.
CZeroSet::CZeroSet | ( | const size_t & | index = 0 | ) |
CZeroSet::CZeroSet | ( | const CZeroSet & | src | ) |
Definition at line 88 of file CZeroSet.cpp.
CZeroSet::~CZeroSet | ( | ) |
Definition at line 94 of file CZeroSet.cpp.
|
inlineprivate |
Definition at line 178 of file CZeroSet.h.
Referenced by operator&=(), and operator|=().
|
inline |
Definition at line 95 of file CZeroSet.h.
References mBitSet, mIgnoredBits, and CVectorCore< CType >::size().
Referenced by CStepMatrixColumn::getAllUnsetBitIndexes(), and operator<<().
|
inline |
Definition at line 85 of file CZeroSet.h.
References mNumberSetBits.
Referenced by CBitPatternTreeMethod::combine(), and CBitPatternMethod::combine().
|
inline |
Definition at line 90 of file CZeroSet.h.
References mBitSet, mIgnoredBits, mNumberSetBits, and CVectorCore< CType >::size().
Referenced by CStepMatrix::getUnsetBitIndexes().
|
inlinestatic |
Definition at line 137 of file CZeroSet.h.
Referenced by CBitPatternTreeMethod::combine(), and CBitPatternMethod::combine().
bool CZeroSet::isExtremeRay | ( | const std::vector< CStepMatrixColumn * > & | columns | ) | const |
Definition at line 97 of file CZeroSet.cpp.
Referenced by CBitPatternTreeMethod::combine(), and CBitPatternMethod::combine().
|
inline |
Definition at line 80 of file CZeroSet.h.
References CZeroSet::CIndex::mBit, mBitSet, and CZeroSet::CIndex::mIndex.
Referenced by CStepMatrixColumn::getAllUnsetBitIndexes(), CStepMatrix::getUnsetBitIndexes(), and operator<<().
Definition at line 118 of file CZeroSet.h.
References CVectorCore< CType >::array(), countSetBits(), mBitSet, mIgnoredBits, mNumberSetBits, and CVectorCore< CType >::size().
|
inline |
Definition at line 159 of file CZeroSet.h.
References CVectorCore< CType >::array(), mBitSet, mNumberSetBits, and CVectorCore< CType >::size().
|
inline |
Definition at line 144 of file CZeroSet.h.
References CVectorCore< CType >::array(), mBitSet, and CVectorCore< CType >::size().
Definition at line 100 of file CZeroSet.h.
References CVectorCore< CType >::array(), countSetBits(), mBitSet, mIgnoredBits, mNumberSetBits, and CVectorCore< CType >::size().
Definition at line 68 of file CZeroSet.h.
References CZeroSet::CIndex::mBit, mBitSet, CZeroSet::CIndex::mIndex, and mNumberSetBits.
Definition at line 74 of file CZeroSet.h.
References mBitSet, CZeroSet::CIndex::mIndex, CZeroSet::CIndex::mNotBit, and mNumberSetBits.
Referenced by CStepMatrixColumn::unsetBit().
|
friend |
Definition at line 114 of file CZeroSet.cpp.
|
private |
Definition at line 172 of file CZeroSet.h.
Referenced by CZeroSet(), getNumberOfBits(), getNumberOfUnsetBits(), isSet(), operator&=(), operator<<(), operator==(), operator>=(), operator|=(), setBit(), and unsetBit().
|
private |
Definition at line 174 of file CZeroSet.h.
Referenced by getNumberOfBits(), getNumberOfUnsetBits(), operator&=(), operator<<(), and operator|=().
|
private |
Definition at line 176 of file CZeroSet.h.
Referenced by getNumberOfSetBits(), getNumberOfUnsetBits(), operator&=(), operator<<(), operator==(), operator|=(), setBit(), and unsetBit().