gambit/gambit.go

11 lines
161 B
Go
Raw Normal View History

2023-07-05 22:22:48 +00:00
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)
}