Sha256: 2ff3a9e593cb5df2ffc8de015cfcc8335743b022d28a628ee71367114434f8e4
Contents?: true
Size: 441 Bytes
Versions: 1
Compression:
Stored size: 441 Bytes
Contents
module Minhash # Class for generating Minhash signature class Minhash attr_reader seed_root: Integer def initialize: (?Integer n_hashes, ?Integer seed_root) -> void # Produces the Minhash signature for a given Set # # @param set [Set] the set to produce the signature for # # @return [Array[Integer]] 32 bit integer array of length n_hashes def signature: (Set[String] set) -> Array[Integer] end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
doc_sim-0.1.0 | sig/doc_sim/minhash.rbs |