|
datasketches-cpp
|
tuple A-not-B More...
#include <tuple_a_not_b.hpp>
Public Member Functions | |
| tuple_a_not_b (uint64_t seed=DEFAULT_SEED, const Allocator &allocator=Allocator()) | |
| Constructor. | |
| 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. | |
tuple A-not-B
|
explicit |
Constructor.
| seed | for the hash function that was used to create the sketch |
| allocator | to use for allocating and deallocating memory |
| CompactSketch compute | ( | FwdSketch && | a, |
| const Sketch & | b, | ||
| bool | ordered = true |
||
| ) | const |
Computes the A-not-B set operation given two sketches.
| a | sketch A |
| b | sketch B |
| ordered | optional flag to specify if an ordered sketch should be produced |