Module: Split::Algorithms::Whiplash

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

Class Method Summary collapse

Class Method Details

.choose_alternative(experiment) ⇒ Object



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

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