Options
All
  • Public
  • Public/Protected
  • All
Menu

A factory to create MinHash sketches using the same set of hash functions.

WARNING: Only the MinHash produced by the same factory can be compared between them.

author

Thomas Minier

Hierarchy

  • MinHashFactory

Index

Properties

_hashFunctions: HashFunction[]
_maxValue: number
_nbHashes: number

Constructors

  • new MinHashFactory(nbHashes: number, maxValue: number): MinHashFactory
  • Constructor

    Parameters

    • nbHashes: number

      Number of hash functions to use for comouting the MinHash signature

    • maxValue: number

      The highest value that can be found in the set to compare

    Returns MinHashFactory

Methods

Generated using TypeDoc