COPASI API  4.40.278
CZeroSet Class Reference

#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
 
CZeroSetoperator&= (const CZeroSet &rhs)
 
bool operator== (const CZeroSet &rhs) const
 
bool operator>= (const CZeroSet &rhs) const
 
CZeroSetoperator|= (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 &)
 

Constructor & Destructor Documentation

◆ CZeroSet() [1/2]

CZeroSet::CZeroSet ( const size_t &  index = 0)

References C_INVALID_INDEX, and mBitSet.

◆ CZeroSet() [2/2]

CZeroSet::CZeroSet ( const CZeroSet src)

◆ ~CZeroSet()

CZeroSet::~CZeroSet ( )

Member Function Documentation

◆ countSetBits()

size_t CZeroSet::countSetBits ( size_t  bits)
inlineprivate

Referenced by operator&=(), and operator|=().

◆ getNumberOfBits()

size_t CZeroSet::getNumberOfBits ( ) const
inline

◆ getNumberOfSetBits()

const size_t& CZeroSet::getNumberOfSetBits ( ) const
inline

◆ getNumberOfUnsetBits()

size_t CZeroSet::getNumberOfUnsetBits ( ) const
inline

◆ intersection()

static CZeroSet CZeroSet::intersection ( const CZeroSet set1,
const CZeroSet set2 
)
inlinestatic

◆ isExtremeRay()

bool CZeroSet::isExtremeRay ( const std::vector< CStepMatrixColumn * > &  columns) const

◆ isSet()

bool CZeroSet::isSet ( const CIndex index) const
inline

◆ operator&=()

◆ operator==()

bool CZeroSet::operator== ( const CZeroSet rhs) const
inline

◆ operator>=()

bool CZeroSet::operator>= ( const CZeroSet rhs) const
inline

◆ operator|=()

◆ setBit()

void CZeroSet::setBit ( const CIndex index)
inline

◆ unsetBit()

void CZeroSet::unsetBit ( const CIndex index)
inline

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  os,
const CZeroSet set 
)
friend

Member Data Documentation

◆ mBitSet

◆ mIgnoredBits

size_t CZeroSet::mIgnoredBits
private

◆ mNumberSetBits

size_t CZeroSet::mNumberSetBits
private

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