datasketches-cpp
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. More...
 
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. 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::update_theta_sketch_alloc< Allocator >::builder

Update Theta sketch builder.

Constructor & Destructor Documentation

◆ builder()

builder ( const Allocator &  allocator = Allocator())

Constructor.

Parameters
allocator

Member Function Documentation

◆ build()

Returns
instance of Update Theta sketch

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