pub(super) mod a_not_b;
pub(super) mod binomial_bounds;
pub(super) mod constants;
pub(super) mod hash_table;
pub(super) mod intersection;
pub(super) mod jaccard_similarity;
pub(super) mod sketch_state;
pub(super) mod union;
pub use self::jaccard_similarity::JaccardSimilarity;
pub(super) trait SketchEntry {
fn hash(&self) -> u64;
}
pub(super) trait KeySketch: Copy {
fn metadata(self) -> sketch_state::ThetaFamilySketchMetadata;
fn hashes(self) -> impl Iterator<Item = u64>;
}
pub(super) trait EntrySketch: KeySketch {
type Entry: SketchEntry;
fn entries(self) -> impl Iterator<Item = Self::Entry>;
}