#include "SparseBitvector_intersection.hpp"
#include "common/debug.hpp"
#include <vector>
Include dependency graph for SparseBitmatrix_intersection.hpp:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Defines | |
#define | __SPARSEBITMATRIX_INTERSECTION_HPP_ t |
SparseBitmatrix_intersection.hpp -- compute intersections of all rows of a sparse bitmatrix with a given one of its rows. | |
Functions | |
template<bool EARLY_FILTERING, bool INTERSECTION_ROWSWAPPING, bool REMOVE_IDENTICAL_ROWS, class OutputIterator> | |
int | intersectSparseBitmatrix (const SparseBitmatrix &bmIn, const int row, SparseBitmatrix &bmOut, const int minimalLength, OutputIterator identicalRowsIterator) |
Intersect all rows (with higher index) with a given row. | |
template<bool EARLY_FILTERING, bool INTERSECTION_ROWSWAPPING, bool REMOVE_IDENTICAL_ROWS, class OutputIterator> | |
int | intersectSparseBitmatrix (const SparseBitmatrix &bmIn, const int row, const vector< int > otherRows, SparseBitmatrix &bmOut, const int minimalLength, OutputIterator identicalRowsIterator) |
Intersect some rows (with given index) with a given row. | |
template<bool EARLY_FILTERING> | |
int | cardinalityIntersectionSparseBitmatrix_TwoRows (const SparseBitmatrix &bmIn, const int minimalLength) |
Special case: only two rows. |
|
SparseBitmatrix_intersection.hpp -- compute intersections of all rows of a sparse bitmatrix with a given one of its rows.
Definition at line 7 of file SparseBitmatrix_intersection.hpp. |
|
Special case: only two rows. Compute if >= minimalLength; return 0 otherwise. Definition at line 138 of file SparseBitmatrix_intersection.hpp. References GET_ROW. |
|
Intersect some rows (with given index) with a given row. I.e., compute for all row' > row. Retain only rows with at least a given minimal length and that are not identical to the reference row; mark row indices of rows identical to the reference row.
Definition at line 89 of file SparseBitmatrix_intersection.hpp. References GET_ROW, SparseBitmatrix::nRows(), SparseBitmatrix::rowLabel(), SparseBitmatrix::setMaxRowLength(), SparseBitmatrix::setNRows(), and SparseBitmatrix::setRowLabel(). |
|
Intersect all rows (with higher index) with a given row. I.e., compute for all row' > row. Retain only rows with at least a given minimal length and that are not identical to the reference row; mark row indices of rows identical to the reference row.
Definition at line 30 of file SparseBitmatrix_intersection.hpp. References GET_ROW, SparseBitmatrix::nRows(), SparseBitmatrix::rowLabel(), SparseBitmatrix::setMaxRowLength(), SparseBitmatrix::setNRows(), and SparseBitmatrix::setRowLabel(). |