package gambit type Bandit interface { Select(r float64) int Update(a int, r float64) error Reset(n int) error Count(res *[]int) Reward(res *[]float64) }