multipxcs.h
来自「XCS is a new algorithm for artificial in」· C头文件 代码 · 共 28 行
H
28 行
/*
/ (XCS)
/ ------------------------------------
/ Learning Classifier System based on accuracy
/
/ by Martin Butz
/ University of Wuerzburg / University of Illinois at Urbana/Champaign
/ butz@illigal.ge.uiuc.edu
/ Last modified: 10-17-99
/
/ The Multiplexer environment - header - here the size of the mp function can be defined
*/
#define CONDITION_LENGTH 6 /* 6 11 20 37 Length of Multiplexer Problem */
#define ACTION_LENGTH 1
#define NUMBER_OF_ACTIONS 2
#define NRBITS 2 /* Number of position bits */
#define PAYMENT_RANGE 1000 /* 1000, 1800, 3400, 6600 */
#define PAYOFF_LANDSCAPE 0
#define IS_MULTI_STEP 0 /* Boolean to check if this is a multi-step environment */
void resetState(char *state);
double doAction(char *state, char *action, int *correct);
int initEnv(FILE *fp);
void freeEnv();
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?