|
XCSF 1.4.8
XCSF learning classifier system
|
GP tree data structure. More...
#include <gp.h>
Data Fields | |
| int * | tree |
| Flattened tree representation of functions and terminals. | |
| int | len |
| Size of the tree. | |
| int | pos |
| Current position in the tree. | |
| double * | mu |
| Mutation rates. | |
| int GPTree::len |
Size of the tree.
Definition at line 46 of file gp.h.
Referenced by cond_gp_size(), tree_copy(), tree_crossover(), tree_load(), tree_mutate(), tree_rand(), and tree_save().
| double* GPTree::mu |
Mutation rates.
Definition at line 48 of file gp.h.
Referenced by tree_copy(), tree_free(), tree_json_export(), tree_load(), tree_mutate(), tree_rand(), and tree_save().
| int GPTree::pos |
Current position in the tree.
Definition at line 47 of file gp.h.
Referenced by xcsf.utils.viz.TreeViz::__init__(), cond_gp_match(), xcsf.utils.viz.TreeViz::read_function(), xcsf.utils.viz.TreeViz::read_subexpr(), tree_copy(), tree_eval(), tree_load(), and tree_save().
| int* GPTree::tree |
Flattened tree representation of functions and terminals.
Definition at line 45 of file gp.h.
Referenced by xcsf.utils.viz.TreeViz::__init__(), xcsf.utils.viz.TreeViz::read_function(), xcsf.utils.viz.TreeViz::read_subexpr(), tree_copy(), tree_crossover(), tree_eval(), tree_free(), tree_load(), tree_mutate(), tree_rand(), tree_save(), and tree_string().