Public Member Functions

TurnRight Class Reference
[Artificial Ant Example (GP)]

GP terminal, turns the ant right. More...

#include <TurnRight.h>

Inheritance diagram for TurnRight:
Tree::Primitives::Primitive

List of all members.

Public Member Functions

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

Detailed Description

GP terminal, turns the ant right.

Definition at line 8 of file TurnRight.h.


Member Function Documentation

void TurnRight::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 TurnRight.h.


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