readme
来自「非常好的进化算法EC 实现平台 可以实现多种算法 GA GP」· 代码 · 共 64 行
TXT
64 行
+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+Even 6-parity (parity): A GP example using ADFs with Open BEAGLECopyright (C) 2001-2003by Christian Gagne <cgagne@gmail.com>and Marc Parizeau <parizeau@gel.ulaval.ca>+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+Getting started=============== Example is compiled in binary 'parity'. Usage options is described by executing it with command-line argument '-OBusage'. The detailed help can also be obtained with argument '-OBhelp'.Objective========= Find a program that produces the value of the Boolean even 6-parity given six independent Boolean inputs.Terminal set============ IN0, IN1, IN2, IN3, IN4, and IN5, the inputs of the function. 0 and 1, two Boolean constants.Function set============ AND OR NOT XOR (to make the problem harder, don't use this one)Automatically defined functions=============================== Two ADFs used, each with two arguments inputs.Fitness cases============= All the $2^6 = 64$ combinations of the six input Booleans.Fitness======= Rate of correct outputs obtained over all the 64 fitness cases.Stopping criteria================= When the evolution reaches the maximum number of generations.Reference========= John R. Koza, "Genetic Programming II: Automatic Discovery of Reusable Programs", MIT Press, 1994, pages 157-199.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?