XCSF
1.4.7
XCSF learning classifier system
|
Action interface data structure. More...
#include <action.h>
Data Fields | |
bool(* | act_impl_general )(const struct XCSF *xcsf, const struct Cl *c1, const struct Cl *c2) |
bool(* | act_impl_crossover )(const struct XCSF *xcsf, const struct Cl *c1, const struct Cl *c2) |
bool(* | act_impl_mutate )(const struct XCSF *xcsf, const struct Cl *c) |
int(* | act_impl_compute )(const struct XCSF *xcsf, const struct Cl *c, const double *x) |
void(* | act_impl_copy )(const struct XCSF *xcsf, struct Cl *dest, const struct Cl *src) |
void(* | act_impl_cover )(const struct XCSF *xcsf, const struct Cl *c, const double *x, const int action) |
void(* | act_impl_free )(const struct XCSF *xcsf, const struct Cl *c) |
void(* | act_impl_init )(const struct XCSF *xcsf, struct Cl *c) |
void(* | act_impl_print )(const struct XCSF *xcsf, const struct Cl *c) |
void(* | act_impl_update )(const struct XCSF *xcsf, const struct Cl *c, const double *x, const double *y) |
size_t(* | act_impl_save )(const struct XCSF *xcsf, const struct Cl *c, FILE *fp) |
size_t(* | act_impl_load )(const struct XCSF *xcsf, struct Cl *c, FILE *fp) |
char *(* | act_impl_json_export )(const struct XCSF *xcsf, const struct Cl *c) |
void(* | act_impl_json_import )(const struct XCSF *xcsf, struct Cl *c, const cJSON *json) |
Action interface data structure.
Action implementations must implement these functions.
Definition at line 82 of file action.h.
Referenced by act_compute().
Definition at line 84 of file action.h.
Referenced by act_copy().
void(* ActVtbl::act_impl_cover) (const struct XCSF *xcsf, const struct Cl *c, const double *x, const int action) |
Definition at line 86 of file action.h.
Referenced by act_cover().
bool(* ActVtbl::act_impl_crossover) (const struct XCSF *xcsf, const struct Cl *c1, const struct Cl *c2) |
Definition at line 79 of file action.h.
Referenced by act_crossover().
Definition at line 88 of file action.h.
Referenced by act_free().
bool(* ActVtbl::act_impl_general) (const struct XCSF *xcsf, const struct Cl *c1, const struct Cl *c2) |
Definition at line 77 of file action.h.
Referenced by act_general().
Definition at line 89 of file action.h.
Referenced by act_init().
Definition at line 96 of file action.h.
Referenced by act_json_export().
Definition at line 97 of file action.h.
Referenced by act_json_import().
Definition at line 95 of file action.h.
Referenced by act_load().
Definition at line 81 of file action.h.
Referenced by act_mutate().
Definition at line 90 of file action.h.
Referenced by act_print().
Definition at line 93 of file action.h.
Referenced by act_save().
void(* ActVtbl::act_impl_update) (const struct XCSF *xcsf, const struct Cl *c, const double *x, const double *y) |
Definition at line 91 of file action.h.
Referenced by act_update().