#include "common/debug.hpp"
#include "LightVector.hpp"
Include dependency graph for LightVector_set_intersection.hpp:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Defines | |
#define | __LIGHT_VECTOR_SET_INTERSECTION__ t |
Functions | |
template<bool EARLY_FILTERING, class TYPE> | |
bool | set_intersection (LightVector< TYPE > &result, const LightVector< TYPE > &x, const LightVector< TYPE > &y, const int minimalSize=0) |
Intersect two vectors interpreted as ascending sorted lists of values, i.e. | |
template<bool EARLY_FILTERING, class TYPE> | |
int | cardinality_of_set_intersection (const LightVector< TYPE > &x, const LightVector< TYPE > &y, const int minimalSize=0) |
Compute the cardinality of the intersect of two sparse bitvectors, i.e. |
Definition in file LightVector_set_intersection.hpp.
|
Definition at line 9 of file LightVector_set_intersection.hpp. |
|
Compute the cardinality of the intersect of two sparse bitvectors, i.e. , compute . Exit operation if result has not at least a given minimal size.
Definition at line 94 of file LightVector_set_intersection.hpp. References LightVector< TYPE >::begin(), LightVector< TYPE >::end(), and LightVector< TYPE >::size(). |
|
Intersect two vectors interpreted as ascending sorted lists of values, i.e. , compute . With feature EARLY_FILTERING, exit operation if result has not at least a given minimal length.
Definition at line 28 of file LightVector_set_intersection.hpp. References LightVector< TYPE >::begin(), LightVector< TYPE >::capacity(), LightVector< TYPE >::end(), and LightVector< TYPE >::size(). |