XCSF
1.4.7
XCSF learning classifier system
|
Configuration file (JSON) handling functions. More...
Go to the source code of this file.
Macros | |
#define | MAXLEN (127) |
Maximum config file line length to read. More... | |
Functions | |
static void | config_trim (char *s) |
Removes tabs/spaces/lf/cr. More... | |
void | config_read (struct XCSF *xcsf, const char *filename) |
Reads the specified configuration file. More... | |
Configuration file (JSON) handling functions.
Definition in file config.c.
#define MAXLEN (127) |
void config_read | ( | struct XCSF * | xcsf, |
const char * | filename | ||
) |
Reads the specified configuration file.
[in] | xcsf | The XCSF data structure. |
[in] | filename | The name of the configuration file. |
Definition at line 50 of file config.c.
References config_trim(), MAXLEN, and param_json_import().
Referenced by main().
|
static |
Removes tabs/spaces/lf/cr.
[in] | s | The line to trim. |
Definition at line 34 of file config.c.
Referenced by config_read().