Skip to content

kpot/cartgp

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
cpp
 
 
 
 
 
 
 
 
 
 
 
 
 
 

CartGP - Cartesian Genetic Programming Library for C++ and Python

CartGP is a very simple and minimalistic C++/Python library implementing Cartesian Genetic Programming (CGP). The library currently supports classic form of CGP where nodes are arranged into a grid and no recurrent connections are allowed.

Python binding

Python version of the library can be installed using standard python setup.py install or python pip . commands, from the project's directory. You will also need to have CMake and a C++11-compatible compiler installed.

Check this jupyter notebook to see how to use the library from Python.

C++ Interface

CartGP is a header-only library that does not require building. Simply add files from cpp/include to your project and #include <cartgp/genotype.h> to your code. C++11 or newer is required.

Potential issues

If you see error Symbol not found: __Py_ZeroStruct on import pycartgp, check that you're running your program using the same Python interpreter you used for installing PyCartGP.

About

Python/C++ library implementing Cartesian Genetic Programming

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published