#include <BaseBitmap.h>
Inheritance diagram for BaseBitmap:
Public Methods | |
BaseBitmap () | |
Default constructor. | |
BaseBitmap (int numBits) | |
Allocate the memory for the BaseBitmap. | |
BaseBitmap (BaseBitmap &) | |
Copy constructor. | |
~BaseBitmap () | |
Deallocate memory for the BaseBitmap. | |
void | FillRand (double prob) |
Fill the BaseBitmap with random data. | |
void | FillOnes () |
Fill the BaseBitmap with ones. | |
int | Count (int &CountCounts) |
Count the ones in the bitmap. | |
void | Or (const BaseBitmap &b1, const BaseBitmap &b2) |
Bitwise OR 2 bitmaps and store the result. | |
void | AndOnly (const BaseBitmap &b1, const BaseBitmap &b2, int &CountAnds) |
Bitwise AND 2 bitmaps and store the result. | |
void | NotAndOnly (const BaseBitmap &b1, const BaseBitmap &b2, int &CountAnds) |
Bitwise AND 2 bitmaps and the negation and store the result. | |
bool | Superset (const BaseBitmap *subset) |
Determine whether this bitmap is a superset of the parameter. | |
bool | SupersetEq (const BaseBitmap *subset) |
Determine whether this bitmap is a superset of the parameter or equal to it. | |
unsigned int | CheckPosition (int bitIndex, int &CountCheckPosition) |
Check position of bit. | |
unsigned int | CheckPosition (int bitIndex) |
Check position of bit. | |
void | FillEmptyPosition (int bitIndex) |
Fill in a 1 in a certain position. | |
Data Fields | |
int | _size |
in number of INTs | |
int | _count |
the number of ones in the BaseBitmap | |
unsigned int * | _memory |
where uncompressed data is stored | |
Friends | |
class | Count |
Definition at line 53 of file BaseBitmap.h.
|
Default constructor.
Definition at line 60 of file BaseBitmap.h. |
|
Deallocate memory for the BaseBitmap.
Definition at line 70 of file BaseBitmap.h. |
|
Check position of bit.
Definition at line 108 of file BaseBitmap.h. |
|
Check position of bit.
Definition at line 97 of file BaseBitmap.h. Referenced by AddToFI(). |
|
Fill in a 1 in a certain position.
Definition at line 117 of file BaseBitmap.h. |
|
Reimplemented in Bitmap. Definition at line 85 of file BaseBitmap.h. |
|
the number of ones in the BaseBitmap
Definition at line 87 of file BaseBitmap.h. Referenced by AddToF1(), AddToFCI(), AddToFI(), AddToMFI(), BaseBitmap(), Bitmap::Bitmap(), Bitmap::BuildSource(), Count(), F1FromFile(), MAFIA(), MergeRepeatedItemsets(), Or(), ReorderTail(), Bitmap::SmallCount(), Superset(), and SupersetEq(). |
|
where uncompressed data is stored
Definition at line 88 of file BaseBitmap.h. Referenced by AndOnly(), BaseBitmap(), Bitmap::Bitmap(), Bitmap::BuildRelComp(), CheckPosition(), Count(), FillEmptyPosition(), FillOnes(), FillRand(), NotAndOnly(), Or(), Superset(), SupersetEq(), and ~BaseBitmap(). |
|
in number of INTs
Definition at line 86 of file BaseBitmap.h. Referenced by AndOnly(), BaseBitmap(), Bitmap::Bitmap(), Bitmap::BuildRelComp(), Count(), FillOnes(), FillRand(), NotAndOnly(), Or(), Superset(), and SupersetEq(). |