Data Structures | |
class | BaseBitmap |
A simple bitmap class with only uncompressed data for name bitmaps. More... | |
class | Bitmap |
This bitmap has compressed and uncompressed data. More... | |
Defines | |
#define | BYTE_COUNT (sizeof(unsigned int) / sizeof(unsigned char)) |
Functions | |
BaseBitmap (int numBits) | |
Allocate the memory for the BaseBitmap. | |
BaseBitmap (BaseBitmap &) | |
Copy constructor. | |
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. | |
Bitmap (int numBits) | |
Allocate the memory for the bitmap. | |
Bitmap (Bitmap &) | |
Copy constructor. | |
~Bitmap () | |
Deallocate memory for the Bitmap. | |
void | FillCompEmptyPosition (int j) |
Fill in a 1 in a certain position in COMPRESSED data. | |
int | SmallCount (int &CountCounts) |
Count the number of ones in the Compressed bitmap. | |
void | AndCompOnly (const Bitmap &b1, const Bitmap &b2, int &CountAnds) |
Bitwise AND 2 compressed bitmaps and store the result. | |
void | NotAndCompOnly (const Bitmap &B1, const Bitmap &B2, int &CountSmallAnds) |
Bitwise AND 2 compressed bitmaps and the negation and store the result. | |
void | BuildRelComp (Bitmap &source) |
Compress this bitmap relative to the source - has a bit for each trans in source. | |
void | BuildSource () |
Fill the compressed bitmap with ones. |
|
Definition at line 46 of file BaseBitmap.cpp. |
|
Bitwise AND 2 compressed bitmaps and store the result.
Definition at line 154 of file Bitmap.cpp. Referenced by MAFIA(), and ReorderTail(). |
|
Bitwise AND 2 bitmaps and store the result.
Definition at line 167 of file BaseBitmap.cpp. Referenced by MAFIA(), MergeRepeatedItemsets(), and ReorderTail(). |
|
Copy constructor.
Definition at line 69 of file BaseBitmap.cpp. |
|
Allocate the memory for the BaseBitmap.
Definition at line 53 of file BaseBitmap.cpp. |
|
Copy constructor.
Definition at line 82 of file Bitmap.cpp. |
|
Allocate the memory for the bitmap.
Definition at line 57 of file Bitmap.cpp. |
|
Compress this bitmap relative to the source - has a bit for each trans in source.
Definition at line 211 of file Bitmap.cpp. |
|
Fill the compressed bitmap with ones.
Definition at line 267 of file Bitmap.cpp. Referenced by MAFIA(). |
|
Count the ones in the bitmap.
Definition at line 113 of file BaseBitmap.cpp. |
|
Fill in a 1 in a certain position in COMPRESSED data.
Definition at line 111 of file Bitmap.cpp. |
|
Fill the BaseBitmap with ones.
Definition at line 102 of file BaseBitmap.cpp. Referenced by MergeRepeatedItemsets(). |
|
Fill the BaseBitmap with random data.
Definition at line 84 of file BaseBitmap.cpp. Referenced by F1UsingProb(). |
|
Bitwise AND 2 compressed bitmaps and the negation and store the result.
Definition at line 183 of file Bitmap.cpp. |
|
Bitwise AND 2 bitmaps and the negation and store the result.
Definition at line 195 of file BaseBitmap.cpp. |
|
Bitwise OR 2 bitmaps and store the result.
Definition at line 143 of file BaseBitmap.cpp. Referenced by MAFIA(), and ReorderTail(). |
|
Count the number of ones in the Compressed bitmap.
Definition at line 124 of file Bitmap.cpp. Referenced by MAFIA(), and ReorderTail(). |
|
Determine whether this bitmap is a superset of the parameter. NOTE: Assumes the set of bitmaps is lexicographically ordered.
Definition at line 225 of file BaseBitmap.cpp. |
|
Determine whether this bitmap is a superset of the parameter or equal to it.
Definition at line 262 of file BaseBitmap.cpp. |
|
Deallocate memory for the Bitmap.
Definition at line 102 of file Bitmap.cpp. |