[Insert name here] Reference Manual | |||
---|---|---|---|
<<< Previous Page | Home | Up | Next Page >>> |
enum Prediction_Algorithm; void command_predictor_free (const Command_Predictor predictor); Command_Predictor command_predictor_create (const Command_Graph graph); void command_predictor_calculate_recency_percentages (const Command_Predictor predictor); const float command_predictor_get_recency_percent_correct (const Command_Predictor predictor, const int index); void command_predictor_calculate_frequency_percentages (const Command_Predictor predictor); const float command_predictor_get_frequency_percent_correct (const Command_Predictor predictor, const int index); const Command_Vertex* command_predictor_predict_same_as_last (const Command_Predictor predictor); const Command_Vertex* command_predictor_predict_high_stat (const Command_Predictor predictor); void command_predictor_evaluate_prediction (const Command_Predictor predictor, const Command_Vertex actual_vertex, const Prediction_Algorithm algorithm, const int num_predictions); |
void command_predictor_free (const Command_Predictor predictor); |
predictor : |
Command_Predictor command_predictor_create (const Command_Graph graph); |
graph : | |
Returns : |
|
void command_predictor_calculate_recency_percentages (const Command_Predictor predictor); |
predictor : |
|
const float command_predictor_get_recency_percent_correct (const Command_Predictor predictor, const int index); |
predictor : | |
index : | |
Returns : |
|
void command_predictor_calculate_frequency_percentages (const Command_Predictor predictor); |
predictor : |
|
const float command_predictor_get_frequency_percent_correct (const Command_Predictor predictor, const int index); |
predictor : | |
index : | |
Returns : |
|
const Command_Vertex* command_predictor_predict_same_as_last (const Command_Predictor predictor); |
predictor : | |
Returns : |
|
const Command_Vertex* command_predictor_predict_high_stat (const Command_Predictor predictor); |
predictor : | |
Returns : |
|
void command_predictor_evaluate_prediction (const Command_Predictor predictor, const Command_Vertex actual_vertex, const Prediction_Algorithm algorithm, const int num_predictions); |
predictor : | |
actual_vertex : | |
algorithm : | |
num_predictions : |
|