An open API service indexing awesome lists of open source software.

https://github.com/acj/python-gp

Simple genetic programming algorithm in Python that can interface with C++ (via Boost) for better performance.
https://github.com/acj/python-gp

Last synced: over 1 year ago
JSON representation

Simple genetic programming algorithm in Python that can interface with C++ (via Boost) for better performance.

Awesome Lists containing this project

README

          

Requirements
============
* Python 2.3 (or higher)
* Boost's [bjam](http://sourceforge.net/projects/boost/files/latest/download?source=files) (run `bjam` from the `pycpp` directory and copy hybridgp.so to the main directory)

Usage
=====
To run the multiplexer example:
1. Edit multiplexer.py to choose an implementation (Native Python or C++)
2. Run `python multiplexer.py`

To run the regression example:
1. Edit regression.py to choose an implementation (Native Python or C++)
2. Run `python regression.py`

Miscellany
==========
This was a project for a graduate-level CS course. If you use it or improve it, let me know. Pull requests are welcome.