20 #ifndef THETA_SET_DIFFERENCE_BASE_HPP_
21 #define THETA_SET_DIFFERENCE_BASE_HPP_
23 #include "theta_comparators.hpp"
24 #include "theta_update_sketch_base.hpp"
31 typename CompactSketch,
34 class theta_set_difference_base {
36 using comparator = compare_by_key<ExtractKey>;
37 using AllocU64 =
typename std::allocator_traits<Allocator>::template rebind_alloc<uint64_t>;
38 using hash_table = theta_update_sketch_base<uint64_t, trivial_extract_key, AllocU64>;
40 theta_set_difference_base(uint64_t seed,
const Allocator& allocator = Allocator());
42 template<
typename FwdSketch,
typename Sketch>
43 CompactSketch compute(FwdSketch&& a,
const Sketch& b,
bool ordered)
const;
52 #include "theta_set_difference_base_impl.hpp"
DataSketches namespace.
Definition: binomial_bounds.hpp:38