datasketches-cpp
|
Theta Union. More...
#include <theta_union.hpp>
Classes | |
class | builder |
Theta union builder. More... | |
Public Member Functions | |
template<typename FwdSketch > | |
void | update (FwdSketch &&sketch) |
Update the union with a given sketch. More... | |
CompactSketch | get_result (bool ordered=true) const |
Produces a copy of the current state of the union as a compact sketch. More... | |
void | reset () |
Reset the union to the initial empty state. | |
Theta Union.
Computes union of Theta sketches. There is no constructor. Use builder instead.
void update | ( | FwdSketch && | sketch | ) |
Update the union with a given sketch.
sketch | to update the union with |
auto get_result | ( | bool | ordered = true | ) | const |
Produces a copy of the current state of the union as a compact sketch.
ordered | optional flag to specify if an ordered sketch should be produced |