tuple A-not-B
More...
#include <tuple_a_not_b.hpp>
|
| 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 Summary, typename Allocator = std::allocator<Summary>>
class datasketches::tuple_a_not_b< Summary, Allocator >
tuple A-not-B
◆ tuple_a_not_b()
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: