Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

SparseBitmatrix_setdifference.cpp File Reference

#include "SparseBitmatrix_setdifference.hpp"
#include "common/debug.hpp"

Include dependency graph for SparseBitmatrix_setdifference.cpp:

Go to the source code of this file.

Functions

int cardinalitySetdifferenceBySparseBitmatrix_TwoRows (SparseBitmatrix *bmIn, int maxdefect)
 Special case: only two rows.


Function Documentation

int cardinalitySetdifferenceBySparseBitmatrix_TwoRows SparseBitmatrix bmIn,
int  maxdefect
 

Special case: only two rows.

Compute |row1 \ row0| if <= maxdefect; return maxdefect + 1 otherwise.

Definition at line 13 of file SparseBitmatrix_setdifference.cpp.

References SparseBitmatrix::numRows, SparseBitmatrix::rowLengths, and SparseBitmatrix::rows.


Generated on Sun Sep 17 17:54:22 2006 for FIM environment by  doxygen 1.4.4