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