41 unsigned char Remainder = fluxMode.size() % (CHAR_BIT *
sizeof(
unsigned char));
42 size_t imax = fluxMode.size() / (CHAR_BIT *
sizeof(
unsigned char));
43 unsigned char k, kmax = CHAR_BIT *
sizeof(
unsigned char);
49 std::vector < C_FLOAT64 >::const_iterator itMode = fluxMode.begin();
51 unsigned char * pScoreEnd = pScore + imax;
54 for (; pScore != pScoreEnd; ++pScore)
58 for (k = kmax; k > 0; ++itMode)
63 (*pScore) |= (0x01 << k);
75 for (; k > kmax; ++itMode)
80 (*pScore) |= (0x01 << k);
90 const unsigned char * pScoreRhs = rhs.
mScore.
array();
91 const unsigned char * pScoreEnd = pScoreLhs +
mScore.
size();
93 for (; pScoreLhs != pScoreEnd; ++pScoreLhs, ++pScoreRhs)
94 if (*pScoreLhs != (*pScoreLhs & *pScoreRhs))
103 const unsigned char * pScoreEnd = pScore + A.
mScore.
size();
104 unsigned char k, kmax = CHAR_BIT *
sizeof(
unsigned char);
106 for (k = kmax; pScore != pScoreEnd; ++pScore)
113 os << ((*pScore & (0x01 << k)) >> k);
void resize(size_t size, const bool ©=false)
bool operator<(const CFluxScore &rhs) const
CVector< unsigned char > mScore
std::ostream & operator<<(std::ostream &os, const CFluxScore &A)
#define CONSTRUCTOR_TRACE