XCSF
1.4.7
XCSF learning classifier system
|
Classifier data structure. More...
#include <xcsf.h>
Data Fields | |
struct CondVtbl const * | cond_vptr |
Functions acting on conditions. More... | |
struct PredVtbl const * | pred_vptr |
Functions acting on predictions. More... | |
struct ActVtbl const * | act_vptr |
Functions acting on actions. More... | |
void * | cond |
Condition structure. More... | |
void * | pred |
Prediction structure. More... | |
void * | act |
Action structure. More... | |
double | err |
Error. More... | |
double | fit |
Fitness. More... | |
int | num |
Numerosity. More... | |
int | exp |
Experience. More... | |
double | size |
Average participated set size. More... | |
int | time |
Time EA last executed in a participating set. More... | |
bool | m |
Whether the classifier matches current input. More... | |
double * | prediction |
Current classifier prediction. More... | |
int | action |
Current classifier action. More... | |
int | age |
Total number of times match testing been performed. More... | |
int | mtotal |
Total number of times actually matched an input. More... | |
void* Cl::act |
Action structure.
Definition at line 51 of file xcsf.h.
Referenced by act_integer_compute(), act_integer_copy(), act_integer_cover(), act_integer_free(), act_integer_general(), act_integer_init(), act_integer_json_export(), act_integer_json_import(), act_integer_load(), act_integer_mutate(), act_integer_save(), act_neural_compute(), act_neural_copy(), act_neural_cover(), act_neural_free(), act_neural_init(), act_neural_json_export(), act_neural_json_import(), act_neural_load(), act_neural_mutate(), and act_neural_save().
struct ActVtbl const* Cl::act_vptr |
Functions acting on actions.
Definition at line 48 of file xcsf.h.
Referenced by act_compute(), act_copy(), act_cover(), act_crossover(), act_free(), act_general(), act_init(), act_json_export(), act_json_import(), act_load(), act_mutate(), act_print(), act_save(), act_update(), action_set(), cl_copy(), cl_init_copy(), and condition_set().
int Cl::action |
Current classifier action.
Definition at line 60 of file xcsf.h.
Referenced by act_cover(), cl_action(), cl_cover(), cl_init(), cl_init_copy(), cl_json_export(), cl_json_import_current(), cl_load(), cl_save(), clset_action(), clset_action_coverage(), and pa_build().
int Cl::age |
Total number of times match testing been performed.
Definition at line 61 of file xcsf.h.
Referenced by cl_init(), cl_init_copy(), cl_json_export(), cl_json_import_properties(), cl_load(), cl_match(), cl_mfrac(), cl_save(), and clset_pset_never_match().
void* Cl::cond |
Condition structure.
Definition at line 49 of file xcsf.h.
Referenced by cond_dgp_copy(), cond_dgp_cover(), cond_dgp_free(), cond_dgp_init(), cond_dgp_json_export(), cond_dgp_json_import(), cond_dgp_load(), cond_dgp_match(), cond_dgp_mutate(), cond_dgp_save(), cond_dgp_size(), cond_ellipsoid_copy(), cond_ellipsoid_cover(), cond_ellipsoid_crossover(), cond_ellipsoid_dist(), cond_ellipsoid_free(), cond_ellipsoid_general(), cond_ellipsoid_init(), cond_ellipsoid_json_export(), cond_ellipsoid_json_import(), cond_ellipsoid_load(), cond_ellipsoid_mutate(), cond_ellipsoid_save(), cond_ellipsoid_update(), cond_gp_copy(), cond_gp_cover(), cond_gp_crossover(), cond_gp_free(), cond_gp_init(), cond_gp_json_export(), cond_gp_json_import(), cond_gp_load(), cond_gp_match(), cond_gp_mutate(), cond_gp_save(), cond_gp_size(), cond_neural_connections(), cond_neural_copy(), cond_neural_cover(), cond_neural_free(), cond_neural_init(), cond_neural_json_export(), cond_neural_json_import(), cond_neural_layers(), cond_neural_load(), cond_neural_match(), cond_neural_mutate(), cond_neural_neurons(), cond_neural_save(), cond_neural_size(), cond_rectangle_copy(), cond_rectangle_cover(), cond_rectangle_crossover(), cond_rectangle_free(), cond_rectangle_general(), cond_rectangle_init(), cond_rectangle_json_export(), cond_rectangle_json_import(), cond_rectangle_load(), cond_rectangle_match(), cond_rectangle_mutate(), cond_rectangle_save(), cond_rectangle_update(), cond_ternary_copy(), cond_ternary_cover(), cond_ternary_crossover(), cond_ternary_free(), cond_ternary_general(), cond_ternary_init(), cond_ternary_json_export(), cond_ternary_json_import(), cond_ternary_load(), cond_ternary_match(), cond_ternary_mutate(), cond_ternary_rand(), cond_ternary_save(), cond_ternary_size(), rule_dgp_act_compute(), rule_dgp_act_cover(), rule_dgp_cond_copy(), rule_dgp_cond_free(), rule_dgp_cond_init(), rule_dgp_cond_json_export(), rule_dgp_cond_json_import(), rule_dgp_cond_load(), rule_dgp_cond_match(), rule_dgp_cond_mutate(), rule_dgp_cond_save(), rule_dgp_cond_size(), rule_neural_act_compute(), rule_neural_act_cover(), rule_neural_cond_copy(), rule_neural_cond_free(), rule_neural_cond_init(), rule_neural_cond_json_export(), rule_neural_cond_json_import(), rule_neural_cond_load(), rule_neural_cond_match(), rule_neural_cond_mutate(), rule_neural_cond_save(), and rule_neural_cond_size().
struct CondVtbl const* Cl::cond_vptr |
Functions acting on conditions.
Definition at line 46 of file xcsf.h.
Referenced by cl_copy(), cl_init_copy(), cond_copy(), cond_cover(), cond_crossover(), cond_free(), cond_general(), cond_init(), cond_json_export(), cond_json_import(), cond_load(), cond_match(), cond_mutate(), cond_print(), cond_save(), cond_size(), cond_update(), and condition_set().
double Cl::err |
Error.
Definition at line 52 of file xcsf.h.
Referenced by cl_acc(), cl_init(), cl_init_copy(), cl_json_export(), cl_json_import_properties(), cl_load(), cl_save(), cl_subsumer(), cl_update(), clset_mfrac(), ea_init_offspring(), xcsf_ae_to_classifier(), and xcsf_pred_expand().
int Cl::exp |
Experience.
Definition at line 55 of file xcsf.h.
Referenced by cl_del_vote(), cl_init(), cl_init_copy(), cl_json_export(), cl_json_import_properties(), cl_load(), cl_save(), cl_subsumer(), cl_update(), clset_mfrac(), pred_constant_update(), xcsf_ae_to_classifier(), and xcsf_pred_expand().
double Cl::fit |
Fitness.
Definition at line 53 of file xcsf.h.
Referenced by cl_del_vote(), cl_init(), cl_init_copy(), cl_json_export(), cl_json_import_properties(), cl_load(), cl_save(), cl_update_fit(), clset_total_fit(), ea_init_offspring(), ea_select_rw(), ea_select_tournament(), pa_build(), xcsf_ae_to_classifier(), and xcsf_pred_expand().
bool Cl::m |
Whether the classifier matches current input.
Definition at line 58 of file xcsf.h.
Referenced by cl_cover(), cl_init(), cl_init_copy(), cl_json_export(), cl_json_import_current(), cl_load(), cl_m(), cl_match(), and cl_save().
int Cl::mtotal |
Total number of times actually matched an input.
Definition at line 62 of file xcsf.h.
Referenced by cl_init(), cl_init_copy(), cl_json_export(), cl_json_import_properties(), cl_load(), cl_match(), cl_mfrac(), cl_save(), and clset_pset_never_match().
int Cl::num |
Numerosity.
Definition at line 54 of file xcsf.h.
Referenced by cl_del_vote(), cl_init(), cl_init_copy(), cl_json_export(), cl_json_import_properties(), cl_load(), cl_save(), cl_update_fit(), clset_add(), clset_pset_del(), clset_subsumption(), clset_total_time(), clset_update_fit(), clset_validate(), ea_add(), ea_init_offspring(), and ea_subsume().
void* Cl::pred |
Prediction structure.
Definition at line 50 of file xcsf.h.
Referenced by pred_neural_ae_to_classifier(), pred_neural_compute(), pred_neural_connections(), pred_neural_copy(), pred_neural_eta(), pred_neural_expand(), pred_neural_free(), pred_neural_init(), pred_neural_json_export(), pred_neural_json_import(), pred_neural_layers(), pred_neural_load(), pred_neural_mutate(), pred_neural_neurons(), pred_neural_save(), pred_neural_size(), pred_neural_update(), pred_nlms_compute(), pred_nlms_copy(), pred_nlms_free(), pred_nlms_init(), pred_nlms_json_export(), pred_nlms_json_import(), pred_nlms_load(), pred_nlms_mutate(), pred_nlms_save(), pred_nlms_size(), pred_nlms_update(), pred_rls_compute(), pred_rls_copy(), pred_rls_free(), pred_rls_init(), pred_rls_json_export(), pred_rls_json_import(), pred_rls_load(), pred_rls_save(), pred_rls_size(), and pred_rls_update().
struct PredVtbl const* Cl::pred_vptr |
Functions acting on predictions.
Definition at line 47 of file xcsf.h.
Referenced by cl_copy(), cl_init_copy(), pred_compute(), pred_copy(), pred_crossover(), pred_free(), pred_init(), pred_json_export(), pred_json_import(), pred_load(), pred_mutate(), pred_print(), pred_save(), pred_size(), pred_update(), and prediction_set().
double* Cl::prediction |
Current classifier prediction.
Definition at line 59 of file xcsf.h.
Referenced by cl_free(), cl_init(), cl_init_copy(), cl_json_export(), cl_json_import_current(), cl_load(), cl_predict(), cl_save(), cl_update(), pa_build(), pred_constant_json_export(), pred_constant_json_import(), pred_constant_update(), pred_neural_compute(), pred_nlms_compute(), pred_nlms_update(), pred_rls_compute(), pred_rls_update(), and xcsf_ae_to_classifier().
double Cl::size |
Average participated set size.
Definition at line 56 of file xcsf.h.
Referenced by cl_del_vote(), cl_init(), cl_init_copy(), cl_json_export(), cl_json_import_properties(), cl_load(), cl_save(), cl_update(), and ea().
int Cl::time |
Time EA last executed in a participating set.
Definition at line 57 of file xcsf.h.
Referenced by cl_init(), cl_init_copy(), cl_json_export(), cl_json_import_properties(), cl_load(), cl_save(), clset_set_times(), clset_total_time(), ea(), xcsf_ae_to_classifier(), and xcsf_pred_expand().