📄 readme.txt
字号:
GPLib v2.0
----------
Colin Frayn,
December 2006
GPLib is a freely-distributed Genetic programming Library, written in simple C++.
It has many functions, which you can consult by checking the source code.
In particular, to get it working, you should look at the example file Example.cpp.
This shows how to load and fit a simple CSV (comma separated variable) file using
a standard GP.
[Example.cpp]
- An example file, showing a simple GP application
- Note: You *must* define the fitness function, as at the bottom of this file.
[func.cpp]
- Add new functions here as public child classes inherited from GPFunction
- Follow the examples given for the correct format.
- SetupFunctionArray() shows which of the user-defined functions to include
- There is no need to add standard leaf functions (integers, or independent variables)
---------------
Compiling GPLib
---------------
Compilation should be easy. GPLib was written using Microsoft Visual C++.NET. However,
it also compiles using GNU g++ for Unix. Simply type:
g++ -O3 *.cpp -o Example
at a Unix command prompt.
If you want to use GPLib in MSVC++ then simply create a new project, import all the .cpp
files, and GPLib.h, and hit 'compile'.
---------------
Licence Details
---------------
Any comments / suggestions on GPLib should be sent to the author at the
address below. GPLib is distributed under licence from Colin Frayn, University
of Birmingham, UK. Any distribution of the source code should acknowledge
me as the author, and should include this ReadMe.txt file in its entirety. Anyone
wishing to distribute an altered version of GPLib or to make money by use
of this program should contact me directly for permission.
GPLib is distributed under the standard GPL licence agreement (see attached file).
Have fun!
Colin
----------------------
Dr Colin Frayn
CERCIA
Birmingham University
cmf@cercia.ac.uk
www.cercia.ac.uk/~cmf/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -