array tuple A-not-B
More...
#include <array_tuple_a_not_b.hpp>
|
| array_tuple_a_not_b (uint64_t seed=DEFAULT_SEED, const Allocator &allocator=Allocator()) |
| Constructor. More...
|
|
template<typename FwdSketch , typename Sketch > |
CompactSketch | compute (FwdSketch &&a, const Sketch &b, bool ordered=true) const |
| Computes the A-not-B set operation given two sketches. More...
|
|
template<typename Array, typename Allocator = typename Array::allocator_type>
class datasketches::array_tuple_a_not_b< Array, Allocator >
array tuple A-not-B
◆ array_tuple_a_not_b()
array_tuple_a_not_b |
( |
uint64_t |
seed = DEFAULT_SEED , |
|
|
const Allocator & |
allocator = Allocator() |
|
) |
| |
|
explicit |
Constructor.
- Parameters
-
seed | for the hash function that was used to create the sketch |
allocator | to use for allocating and deallocating memory |
◆ compute()
CompactSketch compute |
( |
FwdSketch && |
a, |
|
|
const Sketch & |
b, |
|
|
bool |
ordered = true |
|
) |
| const |
Computes the A-not-B set operation given two sketches.
- Parameters
-
a | sketch A |
b | sketch B |
ordered | optional flag to specify if an ordered sketch should be produced |
- Returns
- the result of A-not-B as a compact sketch
The documentation for this class was generated from the following files: