datasketches-cpp
Loading...
Searching...
No Matches
Public Member Functions | List of all members
update_theta_sketch_alloc< Allocator >::builder Class Reference

Update Theta sketch builder. More...

#include <theta_sketch.hpp>

Inheritance diagram for update_theta_sketch_alloc< Allocator >::builder:
theta_base_builder< builder, Allocator >

Public Member Functions

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

Detailed Description

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

Update Theta sketch builder.

Constructor & Destructor Documentation

◆ builder()

template<typename Allocator = std::allocator<uint64_t>>
builder ( const Allocator &  allocator = Allocator())

Constructor.

Parameters
allocator

Member Function Documentation

◆ build()

template<typename A >
update_theta_sketch_alloc< A > build ( ) const
Returns
instance of Update Theta sketch

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