func NewLSH(hash types.Hash, decoder types.Decoder, projector types.Projector) *LSH { return &LSH{ hash: hash, decoder: decoder, projector: projector, distance: 0.0, noise: nil, radius: decoder.GetErrorRadius() / float64(decoder.GetDimensionality()), } }