class Rhod::Backoffs::Logarithmic
Public Instance Methods
iterate(state)
click to toggle source
# File lib/rhod/backoffs/logarithmic.rb, line 2 def iterate(state) [state + 1, Math.log2((state)**2)] end
# File lib/rhod/backoffs/logarithmic.rb, line 2 def iterate(state) [state + 1, Math.log2((state)**2)] end