Sha256: 00ff48a2f5ae847d1737b7d5b5e73d1dea196bb7f0a405bf84695c35fb48943a

Contents?: true

Size: 439 Bytes

Versions: 1

Compression:

Stored size: 439 Bytes

Contents

# TypeProf 0.21.3

# Classes
module LocalitySensitiveHashing
  class LocalitySensitiveHashing
    @buckets: Array[Hash[Array[Integer], Array[Integer]]]
    @n_rows: Integer

    def initialize: (Integer n_rows, Integer n_bands) -> void
    def insert: (Array[Integer] signature, Integer id) -> void 
    def similar_pairs: -> Set[Array[Integer]]

    private
    def generate_band_bucket: -> Hash[Array[Integer], Array[Integer]]
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
doc_sim-0.1.1 sig/doc_sim/locality_sensitive_hashing.rbs