COPASI API
4.40.278
|
#include <CZeroSet.h>
Classes | |
class | CIndex |
Public Member Functions | |
CZeroSet (const CZeroSet &src) | |
CZeroSet (const size_t &index=0) | |
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 &) |
CZeroSet::CZeroSet | ( | const size_t & | index = 0 | ) |
References C_INVALID_INDEX, and mBitSet.
CZeroSet::CZeroSet | ( | const CZeroSet & | src | ) |
CZeroSet::~CZeroSet | ( | ) |
|
inlineprivate |
Referenced by operator&=(), and operator|=().
|
inline |
References mBitSet, mIgnoredBits, and CVectorCore< CType >::size().
Referenced by CStepMatrixColumn::getAllUnsetBitIndexes().
|
inline |
References mNumberSetBits.
Referenced by CBitPatternTreeMethod::combine(), and CBitPatternMethod::combine().
|
inline |
References mBitSet, mIgnoredBits, mNumberSetBits, and CVectorCore< CType >::size().
Referenced by CStepMatrix::getUnsetBitIndexes().
|
inlinestatic |
Referenced by CBitPatternTreeMethod::combine(), and CBitPatternMethod::combine().
bool CZeroSet::isExtremeRay | ( | const std::vector< CStepMatrixColumn * > & | columns | ) | const |
Referenced by CBitPatternTreeMethod::combine(), and CBitPatternMethod::combine().
|
inline |
References CZeroSet::CIndex::mBit, mBitSet, and CZeroSet::CIndex::mIndex.
Referenced by CStepMatrixColumn::getAllUnsetBitIndexes(), and CStepMatrix::getUnsetBitIndexes().
References CVectorCore< CType >::array(), countSetBits(), mBitSet, mIgnoredBits, mNumberSetBits, and CVectorCore< CType >::size().
|
inline |
References CVectorCore< CType >::array(), mBitSet, mNumberSetBits, and CVectorCore< CType >::size().
|
inline |
References CVectorCore< CType >::array(), mBitSet, and CVectorCore< CType >::size().
References CVectorCore< CType >::array(), countSetBits(), mBitSet, mIgnoredBits, mNumberSetBits, and CVectorCore< CType >::size().
|
inline |
References CZeroSet::CIndex::mBit, mBitSet, CZeroSet::CIndex::mIndex, and mNumberSetBits.
|
inline |
References mBitSet, CZeroSet::CIndex::mIndex, CZeroSet::CIndex::mNotBit, and mNumberSetBits.
Referenced by CStepMatrixColumn::unsetBit().
|
friend |
|
private |
Referenced by CZeroSet(), getNumberOfBits(), getNumberOfUnsetBits(), isSet(), operator&=(), operator==(), operator>=(), operator|=(), setBit(), and unsetBit().
|
private |
Referenced by getNumberOfBits(), getNumberOfUnsetBits(), operator&=(), and operator|=().
|
private |
Referenced by getNumberOfSetBits(), getNumberOfUnsetBits(), operator&=(), operator==(), operator|=(), setBit(), and unsetBit().