|  |  |  | GOK - Gnome Onscreen Keyboard |  | 
|---|---|---|---|---|
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);
| 
 | 
Command_Predictor command_predictor_create (const Command_Graph graph);
| 
 | |
| Returns : | 
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);
| 
 | |
| 
 | |
| Returns : | 
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);
| 
 | |
| 
 | |
| Returns : | 
const Command_Vertex* command_predictor_predict_same_as_last
                                                        (const Command_Predictor predictor);
| 
 | |
| Returns : | 
const Command_Vertex* command_predictor_predict_high_stat
                                                        (const Command_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);
| 
 | |
| 
 | |
| 
 | |
| 
 |