Public Member Functions

TurnLeft Class Reference
[Artificial Ant Example (GP)]

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

#include <TurnLeft.h>

Inheritance diagram for TurnLeft:
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 left.

Definition at line 8 of file TurnLeft.h.


Member Function Documentation

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


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