Sha256: e346f4db51707b38ec1d58f35a6a2aa9845bdc15964c18917b9211fb08c0a6a7

Contents?: true

Size: 433 Bytes

Versions: 1

Compression:

Stored size: 433 Bytes

Contents

# TypeProf 0.21.3

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

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

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

Version data entries

1 entries across 1 versions & 1 rubygems

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