datasketches-cpp
|
Update Tuple sketch builder. More...
#include <tuple_sketch.hpp>
Public Member Functions | |
builder (const P &policy=P(), const A &allocator=A()) | |
Constructor Creates and instance of the builder with default parameters. | |
update_tuple_sketch< S, U, P, A > | build () const |
This is to create an instance of the sketch with predefined parameters. | |
Public Member Functions inherited from theta_base_builder< Derived, Allocator > | |
theta_base_builder (const Allocator &allocator) | |
Creates and instance of the builder with default parameters. | |
Derived & | set_lg_k (uint8_t lg_k) |
Set log2(k), where k is a nominal number of entries in the sketch. | |
Derived & | set_resize_factor (resize_factor rf) |
Set resize factor for the internal hash table (defaults to 8) | |
Derived & | set_p (float p) |
Set sampling probability (initial theta). | |
Derived & | set_seed (uint64_t seed) |
Set the seed for the hash function. | |
Update Tuple sketch builder.
builder | ( | const P & | policy = P() , |
const A & | allocator = A() |
||
) |
Constructor Creates and instance of the builder with default parameters.
policy | user-defined way of creating and updating Summary |
allocator | instance of an Allocator to pass to created sketches |
auto build | ( | ) | const |
This is to create an instance of the sketch with predefined parameters.