CGP generator

Target platform Sorry, this option is not yet supported

CPU features

Enable MMX support:

Enable SSE4 support:

Enable AVX support:
CGP parameters Required! Not valid number! The minimum number of inputs is 2 The maximum number of inputs is 4
Sorry, but generator does not yet support this option

Chromosome structure: ({{itm.type}} {{}},) CGP node Sorry, this option is not supported yet
CGP node outputs:nodetype* nodeoutput;
array typedef {{cgp.domain.dtype}} nodetype;
Function set
Generate code
Please enter the shown code Generate code
  1. Start here

    Start here and select target platform.

  2. Domain

    Select data type that will be utilized to store state of CGP node. Floating point data types (float, double) are suitable for symbolic regression, integer data types (int, long) are suitable for evolutionary design of digital circuits. You can also declare your own structure.

  3. Functions

    Now you need to define the list of predefined primitive functions. Each CGP node can implement one of these functions.

    Each function should calculate the state of a node placed at position given by index out. The function is described using common C language. Indices in1, in2, etc. specify the indices of CGP nodes connected to first, second, etc. node's input.

    Example (addition with saturation):

    int tmp = 
    nodeoutput[in1] + nodeoutput[in2];
    nodeoutput[out] = (tmp > 255) ? 255 : tmp

  4. Functions

    We have declared one function. Let us generate the CGP compiler.

  5. Generate

    Please retype the security code and press the button "Generate code".