Class ActionFrequency<T>
Record containing actions and their frequencies.
public class ActionFrequency<T>
Type Parameters
T
The type of the actions.
- Inheritance
-
ActionFrequency<T>
- Inherited Members
Constructors
ActionFrequency()
Creates new action frequency data record.
public ActionFrequency()
Properties
BestAction
The most likely/frequent action.
public T BestAction { get; }
Property Value
- T
Total
Number of times the sequence associated to these actions has been executed.
public int Total { get; }
Property Value
Methods
IncrementFrequency(T)
Increment the frequency of the specified action.
public void IncrementFrequency(T action)
Parameters
action
TThe action for which the frequency will be incremented.