XCSF  1.4.7
XCSF learning classifier system
Cl Struct Reference

Classifier data structure. More...

#include <xcsf.h>

Collaboration diagram for Cl:
[legend]

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...
 

Detailed Description

Classifier data structure.

Definition at line 45 of file xcsf.h.

Field Documentation

◆ act

◆ act_vptr

◆ action

int Cl::action

◆ age

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().

◆ cond

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().

◆ cond_vptr

◆ err

◆ exp

◆ fit

◆ m

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().

◆ mtotal

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().

◆ num

◆ pred

◆ pred_vptr

◆ prediction

◆ size

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().

◆ time

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().


The documentation for this struct was generated from the following file: