Metadata-Version: 2.1
Name: cgpy
Version: 0.0.4
Summary: A Python library for Cartesian genetic programming.
Home-page: http://cgpy.org/
Author: Viktor Wase
Author-email: viktorwase@gmail.com
License: UNKNOWN
Description: # cgpy
        
        A Python library for Cartesian genetic programming.
        
        ## Unit tests
        
        Run `python -m unittest discover -v` in the root folder.
        
        ## Getting Started
        
        Install the package using pip
        `pip install --index-url https://test.pypi.org/simple/ cgpy`
        
        The following code creates a random CGP and evaluates its function
        
        ```
        op_table = [Operation("+"), Operation("*"), Operation("sin")]
        
        dims = 2
        nr_of_parameters = 0
        nr_of_nodes = 5
        cgp = create_random_cgp(dims, nr_of_parameters, op_table, nr_of_nodes)
        
        pnt = [0.5, 1.5]
        print(cgp.eval(pnt))
        ```
        
        See more examples in the example folder and the documentation at www.cgpy.org
        
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
