![]() random | Random generator utility. |
LeverCount (inherited from Gambler) | Gets the number of levers (of arms) of the multi-armed bandit. |
Score (inherited from Gambler) | Sum of the observed values. |
Equals (inherited from Object) | Determines whether the specified Object is equal to the current Object. |
GetHashCode (inherited from Object) | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetType (inherited from Object) | Gets the Type of the current instance. |
Observe | Records of the reward brough by the specified lever. |
Play (inherited from Gambler) | |
Reset | Reset the counters of the GamblerBase. |
ToString (inherited from Object) | Returns a String that represents the current Object. |
GamblerBase Constructor | Initializes a new instance of the GamblerBase class. |
leverMeanSum | The sum of the mean of the already observed levers. |
leverSigmaSum | The of the sigma of the levers already observed twice. |
leverSquareMeanSum | The sum of the square mean of the already observed levers. |
observationCounts | Contains the number of observations for each lever. The observation counts are indexed by the lever indices. |
observedLeverCount | Number of already observed levers. |
rewardSquareSums | Contains the sum of the squared of the collected rewards for each lever. The sums are indexed by the lever indices. |
rewardSums | Contains the sum of the collected rewards for each lever. The sums are indexed by the lever indices. |
roundIndex | Index of the round currently played when the method Play is called. |
twiceObservedLeverCount | Number of levers already observed twice. |
Finalize (inherited from Object) | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. |
LeverMean | Gets the reward mean associated to the specified lever. |
LeverSigma | Gets the reward standard deviation associated to the specified lever. |
MemberwiseClone (inherited from Object) | Creates a shallow copy of the current Object. |
GamblerBase Class | Bandit.Stochastic Namespace