Sha256: c775c0686de2ab0548365c8a78c00be319f074994e095917975b20490a801cc3
Contents?: true
Size: 323 Bytes
Versions: 24
Compression:
Stored size: 323 Bytes
Contents
module Internals module Generators # Uses a logarithmic algorithm as default. # class WeightsGenerator < Base # Generate a weights index based on the given index. # def generate strategy = Weights::Logarithmic.new strategy.generate_from self.index end end end end
Version data entries
24 entries across 24 versions & 1 rubygems