gambit/gambit.go

13 lines
172 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
2023-07-06 08:59:17 +00:00
Size() int
Count(res []int)
Reward(res []float64)
2023-07-05 22:22:48 +00:00
}