Module: Split::Algorithms::Whiplash

Defined in:
lib/split/algorithms/whiplash.rb

Class Method Summary collapse

Class Method Details

.choose_alternative(experiment) ⇒ Object


10
11
12
# File 'lib/split/algorithms/whiplash.rb', line 10

def choose_alternative(experiment)
  experiment[best_guess(experiment.alternatives)]
end