Public Member Functions

MoveAhead Class Reference
[Artificial Ant Example (GP)]

GP terminal, moves the ant one square ahead. More...

#include <MoveAhead.h>

Inheritance diagram for MoveAhead:

List of all members.

Public Member Functions

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

Detailed Description

GP terminal, moves the ant one square ahead.

Definition at line 8 of file MoveAhead.h.

Member Function Documentation

void MoveAhead::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 17 of file MoveAhead.h.

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