Trait hyperloglog_rs::hyper_spheres_sketch::SetLike
source · pub trait SetLike<I> {
// Required methods
fn get_estimated_union_cardinality(
&self,
self_cardinality: I,
other: &Self,
other_cardinality: I
) -> EstimatedUnionCardinalities<I>;
fn get_cardinality(&self) -> I;
}
Required Methods§
sourcefn get_estimated_union_cardinality(
&self,
self_cardinality: I,
other: &Self,
other_cardinality: I
) -> EstimatedUnionCardinalities<I>
fn get_estimated_union_cardinality( &self, self_cardinality: I, other: &Self, other_cardinality: I ) -> EstimatedUnionCardinalities<I>
Returns the estimated intersection and left and right difference cardinality between two sets.
sourcefn get_cardinality(&self) -> I
fn get_cardinality(&self) -> I
Returns the cardinality of the set.
Object Safety§
This trait is not object safe.