env.h

来自「Simple GA code (Pascal code from Goldber」· C头文件 代码 · 共 29 行

H
29
字号
/*/       (XCS-C 1.2)/	------------------------------------/	Learning Classifier System based on accuracy//     by /     Martin V. Butz/     Illinois Genetic Algorithms Laboratory (IlliGAL)/     University of Illinois at Urbana/Champaign/     butz@illigal.ge.uiuc.edu//     Last modified: 09-30-2003//     The default environment header - the specified functions and Macros need to be implemented /     by any environment/problem, XCS may be applied to.*/int isMultiStep();int setEnvParam(char *type, double value);int getConditionLength();int getPaymentRange();int getNumberOfActions();double doAction(char *state, int action, int *correct);void resetState(char *state);int initEnv(FILE *fp);void freeEnv();void fprintEnv(FILE *outfile);

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?