datasketches-cpp
Public Member Functions | List of all members
theta_union_alloc< Allocator >::builder Class Reference

Theta union builder. More...

#include <theta_union.hpp>

Inheritance diagram for theta_union_alloc< Allocator >::builder:
theta_base_builder< builder, A >

Public Member Functions

theta_union_alloc< A > build () const
 Create an instance of the union with predefined parameters. More...
 
- Public Member Functions inherited from theta_base_builder< builder, A >
 theta_base_builder (const A &allocator)
 Creates and instance of the builder with default parameters. More...
 
builder & set_lg_k (uint8_t lg_k)
 Set log2(k), where k is a nominal number of entries in the sketch. More...
 
builder & set_resize_factor (resize_factor rf)
 Set resize factor for the internal hash table (defaults to 8) More...
 
builder & set_p (float p)
 Set sampling probability (initial theta). More...
 
builder & set_seed (uint64_t seed)
 Set the seed for the hash function. More...
 

Detailed Description

template<typename Allocator = std::allocator<uint64_t>>
class datasketches::theta_union_alloc< Allocator >::builder

Theta union builder.

Member Function Documentation

◆ build()

auto build

Create an instance of the union with predefined parameters.

Returns
an instance of the union

The documentation for this class was generated from the following files: