⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 multipxcs.h

📁 XCS is a new algorithm for artificial intelligent
💻 H
字号:
/*
/       (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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -