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