#include <score_map.h>
template<class ScoreType >
template<class ScoreType >
template<class ScoreType >
Loading the score map from the archive.
- Parameters
-
template<class ScoreType >
Saving the score map to the archive.
template<class ScoreType >
Get the score for the (context, action) pair
- Parameters
-
[in] | ctx | The scoring context. |
[in] | act | The action. |
[in] | avg | If avg is true return the averaged parameter, else return the non-averaged parameter. |
[in] | default_return_value | The default return value. |
- Returns
- floatval_t The score.
template<class ScoreType >
Update the parameter for the (context, action) pair
- Parameters
-
[in] | ctx | The scoring context. |
[in] | act | The action |
[in] | now | The current timestamp. |
[in] | scale | The updated scale. |
The documentation for this class was generated from the following file: