Rev | Line | |
---|
[11730] | 1 | using System;
|
---|
| 2 | using System.Collections.Generic;
|
---|
| 3 | using System.Linq;
|
---|
| 4 | using System.Text;
|
---|
| 5 | using System.Threading.Tasks;
|
---|
| 6 |
|
---|
| 7 | namespace HeuristicLab.Algorithms.Bandits {
|
---|
| 8 | public interface IBandit {
|
---|
| 9 | int NumArms { get; }
|
---|
| 10 | double OptimalExpectedReward { get; } // expected reward of the best arm, for calculating regret
|
---|
| 11 | int OptimalExpectedRewardArm { get; } // arm which is optimal for optimization of expected reward
|
---|
| 12 | int OptimalMaximalRewardArm { get; } // arm which is optimal for optimization of maximal reward
|
---|
| 13 |
|
---|
| 14 | double Pull(int arm); // pulling an arm returns a regret
|
---|
| 15 | }
|
---|
| 16 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.