datasketches-cpp
Loading...
Searching...
No Matches
update_array_tuple_sketch< Array, Policy, Allocator >::builder Class Reference

Update array tuple sketch builder. More...

#include <array_tuple_sketch.hpp>

Inheritance diagram for update_array_tuple_sketch< Array, Policy, Allocator >::builder:
tuple_base_builder< builder, Policy, Allocator > theta_base_builder< builder, Allocator >

Public Member Functions

 builder (const Policy &policy=Policy(), const Allocator &allocator=Allocator())
 Constructor.
update_array_tuple_sketch 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 Array, typename Policy = default_array_tuple_update_policy<Array>, typename Allocator = typename Array::allocator_type>
class datasketches::update_array_tuple_sketch< Array, Policy, Allocator >::builder

Update array tuple sketch builder.

Constructor & Destructor Documentation

◆ builder()

template<typename Array, typename Policy, typename Allocator>
builder ( const Policy & policy = Policy(),
const Allocator & allocator = Allocator() )

Constructor.

Parameters
policy
allocator

Member Function Documentation

◆ build()

template<typename Array, typename Policy, typename Allocator>
auto build ( ) const
Returns
instance of sketch

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