XCSF 1.4.8
XCSF learning classifier system
Loading...
Searching...
No Matches
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.
 
doubleinitial_state
 Initial node states.
 
doublestate
 Current state of each node.
 
doubletmp_input
 Temporary storage for updating the graph.
 
doubletmp_state
 Temporary storage for synchronous update.
 
intconnectivity
 Connectivity map.
 
intfunction
 Node activation functions.
 
int klen
 Length of connectivity map.
 
int max_k
 Maximum number of connections a node may have.
 
int max_t
 Maximum number of update cycles.
 
int n
 Number of nodes.
 
int n_inputs
 Number of inputs to the graph.
 
int t
 Number of cycles to run.
 
doublemu
 Mutation rates.
 

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

◆ 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: