XCSF  1.4.7
XCSF learning classifier system
GPTree Struct Reference

GP tree data structure. More...

#include <gp.h>

Data Fields

int * tree
 Flattened tree representation of functions and terminals. More...
 
int len
 Size of the tree. More...
 
int pos
 Current position in the tree. More...
 
double * mu
 Mutation rates. More...
 

Detailed Description

GP tree data structure.

Definition at line 44 of file gp.h.

Field Documentation

◆ len

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

◆ mu

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

◆ pos

◆ tree


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