22 template<
typename S,
typename P,
typename A>
24 state_(seed, internal_policy(policy), allocator)
27 template<
typename S,
typename P,
typename A>
30 state_.update(std::forward<SS>(sketch));
33 template<
typename S,
typename P,
typename A>
35 return state_.get_result(ordered);
38 template<
typename S,
typename P,
typename A>
40 return state_.has_result();
Compact Tuple sketch.
Definition: tuple_sketch.hpp:416
CompactSketch get_result(bool ordered=true) const
Produces a copy of the current state of the intersection.
Definition: tuple_intersection_impl.hpp:34
tuple_intersection(uint64_t seed=DEFAULT_SEED, const Policy &policy=Policy(), const Allocator &allocator=Allocator())
Constructor.
Definition: tuple_intersection_impl.hpp:23
bool has_result() const
Returns true if the state of the intersection is defined (not infinite "universe").
Definition: tuple_intersection_impl.hpp:39
void update(FwdSketch &&sketch)
Updates the intersection with a given sketch.
DataSketches namespace.
Definition: binomial_bounds.hpp:38