XCSF  1.4.7
XCSF learning classifier system
Graph Struct Reference

Dynamical GP graph data structure. More...

#include <dgp.h>

Data Fields

bool evolve_cycles
 Whether to evolve the number of update cycles. More...
 
double * initial_state
 Initial node states. More...
 
double * state
 Current state of each node. More...
 
double * tmp_input
 Temporary storage for updating the graph. More...
 
double * tmp_state
 Temporary storage for synchronous update. More...
 
int * connectivity
 Connectivity map. More...
 
int * function
 Node activation functions. More...
 
int klen
 Length of connectivity map. More...
 
int max_k
 Maximum number of connections a node may have. More...
 
int max_t
 Maximum number of update cycles. More...
 
int n
 Number of nodes. More...
 
int n_inputs
 Number of inputs to the graph. More...
 
int t
 Number of cycles to run. More...
 
double * mu
 Mutation rates. More...
 

Detailed Description

Dynamical GP graph data structure.

Definition at line 42 of file dgp.h.

Field Documentation

◆ connectivity

◆ evolve_cycles

bool Graph::evolve_cycles

Whether to evolve the number of update cycles.

Definition at line 43 of file dgp.h.

Referenced by graph_copy(), graph_init(), graph_json_import(), graph_load(), graph_mutate(), graph_rand(), and graph_save().

◆ function

◆ initial_state

double* Graph::initial_state

◆ klen

int Graph::klen

◆ max_k

int Graph::max_k

Maximum number of connections a node may have.

Definition at line 51 of file dgp.h.

Referenced by graph_copy(), graph_init(), graph_json_import(), graph_load(), graph_save(), and synchronous_update().

◆ max_t

int Graph::max_t

Maximum number of update cycles.

Definition at line 52 of file dgp.h.

Referenced by graph_copy(), graph_init(), graph_json_import(), graph_load(), graph_mutate_cycles(), graph_rand(), and graph_save().

◆ mu

◆ n

◆ n_inputs

◆ state

◆ t

int Graph::t

◆ tmp_input

double* Graph::tmp_input

Temporary storage for updating the graph.

Definition at line 46 of file dgp.h.

Referenced by graph_free(), graph_init(), graph_json_import(), graph_load(), and synchronous_update().

◆ tmp_state

double* Graph::tmp_state

Temporary storage for synchronous update.

Definition at line 47 of file dgp.h.

Referenced by graph_free(), graph_init(), graph_json_import(), graph_load(), and synchronous_update().


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