56 const struct Cl *src);
73 const double *x,
const double *y);
107 const struct Cl *c2);
111 const struct Cl *c2);
122 const struct Cl *src);
139 const double *x,
const double *y);
Interface for classifier actions.
Interface for classifier conditions.
An implementation of dynamical GP graphs with fuzzy activations.
bool rule_dgp_act_mutate(const struct XCSF *xcsf, const struct Cl *c)
char * rule_dgp_act_json_export(const struct XCSF *xcsf, const struct Cl *c)
void rule_dgp_cond_init(const struct XCSF *xcsf, struct Cl *c)
char * rule_dgp_cond_json_export(const struct XCSF *xcsf, const struct Cl *c)
bool rule_dgp_cond_mutate(const struct XCSF *xcsf, const struct Cl *c)
void rule_dgp_cond_free(const struct XCSF *xcsf, const struct Cl *c)
bool rule_dgp_cond_general(const struct XCSF *xcsf, const struct Cl *c1, const struct Cl *c2)
size_t rule_dgp_act_save(const struct XCSF *xcsf, const struct Cl *c, FILE *fp)
void rule_dgp_act_copy(const struct XCSF *xcsf, struct Cl *dest, const struct Cl *src)
size_t rule_dgp_act_load(const struct XCSF *xcsf, struct Cl *c, FILE *fp)
bool rule_dgp_act_general(const struct XCSF *xcsf, const struct Cl *c1, const struct Cl *c2)
static struct ActVtbl const rule_dgp_act_vtbl
Dynamical GP rule action implemented functions.
void rule_dgp_cond_print(const struct XCSF *xcsf, const struct Cl *c)
void rule_dgp_cond_copy(const struct XCSF *xcsf, struct Cl *dest, const struct Cl *src)
bool rule_dgp_cond_crossover(const struct XCSF *xcsf, const struct Cl *c1, const struct Cl *c2)
void rule_dgp_act_init(const struct XCSF *xcsf, struct Cl *c)
void rule_dgp_cond_update(const struct XCSF *xcsf, const struct Cl *c, const double *x, const double *y)
void rule_dgp_act_update(const struct XCSF *xcsf, const struct Cl *c, const double *x, const double *y)
bool rule_dgp_cond_match(const struct XCSF *xcsf, const struct Cl *c, const double *x)
void rule_dgp_act_print(const struct XCSF *xcsf, const struct Cl *c)
void rule_dgp_act_free(const struct XCSF *xcsf, const struct Cl *c)
bool rule_dgp_act_crossover(const struct XCSF *xcsf, const struct Cl *c1, const struct Cl *c2)
void rule_dgp_cond_cover(const struct XCSF *xcsf, const struct Cl *c, const double *x)
void rule_dgp_act_cover(const struct XCSF *xcsf, const struct Cl *c, const double *x, const int action)
size_t rule_dgp_cond_save(const struct XCSF *xcsf, const struct Cl *c, FILE *fp)
int rule_dgp_act_compute(const struct XCSF *xcsf, const struct Cl *c, const double *x)
void rule_dgp_act_json_import(const struct XCSF *xcsf, struct Cl *c, const cJSON *json)
double rule_dgp_cond_size(const struct XCSF *xcsf, const struct Cl *c)
static struct CondVtbl const rule_dgp_cond_vtbl
Dynamical GP rule condition implemented functions.
size_t rule_dgp_cond_load(const struct XCSF *xcsf, struct Cl *c, FILE *fp)
void rule_dgp_cond_json_import(const struct XCSF *xcsf, struct Cl *c, const cJSON *json)
Action interface data structure.
Classifier data structure.
Condition interface data structure.
Dynamical GP graph data structure.
Dynamical GP graph rule data structure.
struct Graph dgp
DGP graph.
int n_outputs
Number of action nodes (binarised)