Public Member Functions

Prog2 Class Reference
[Artificial Ant Example (GP)]

GP function, executes 2 subtrees in sequence. More...

#include <Prog2.h>

Inheritance diagram for Prog2:

List of all members.

Public Member Functions

void execute (void *evalOp, Tree::Tree &tree)
 Execute the primitive.

Detailed Description

GP function, executes 2 subtrees in sequence.

Definition at line 6 of file Prog2.h.

Member Function Documentation

void Prog2::execute ( void *  result,
Tree::Tree tree 
) [inline, virtual]

Execute the primitive.

Function primitives gather arguments and return a value; terminal primitives return current value.

Implements Tree::Primitives::Primitive.

Definition at line 16 of file Prog2.h.

The documentation for this class was generated from the following file: