double pa_best_val(const struct XCSF *xcsf)
Returns the highest value in the prediction array.
int pa_rand_action(const struct XCSF *xcsf)
Returns a random action from the prediction array.
double pa_val(const struct XCSF *xcsf, const int action)
Returns the value of a specified action in the prediction array.
void pa_build(const struct XCSF *xcsf, const double *x)
Builds the prediction array for the specified input.
void pa_free(const struct XCSF *xcsf)
Frees the prediction array.
int pa_best_action(const struct XCSF *xcsf)
Returns the best action in the prediction array.
void pa_init(struct XCSF *xcsf)
Initialises the prediction array.