Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

Explorer Class Reference

#include <Explorer.h>

Inheritance diagram for Explorer:

Behavior List of all members.

Detailed Description

Explores the plane using simple search patterns. Avoids walls and the own cluster point when exploring. Returns when a cube or a robot has been detected.
Author:
Jia L. Du


Public Member Functions

 Explorer ()
int activate ()

Static Public Attributes

const int ROBOT_DETECTED = 0
const int CUBE_DETECTED = 1
const int DRIVE_STALLED = 2


Constructor & Destructor Documentation

Explorer::Explorer  
 


Member Function Documentation

int Explorer::activate  
 

Activates this behavior

Returns:
A result code indicating why this behavior terminated. Explorer.ROBOT_DETECTED or Explorer.CUBE_ DETECTED or Explorer.DRIVE_STALLED


Member Data Documentation

const int Explorer::CUBE_DETECTED = 1 [static]
 

Used as result code for Explorer::activate()

const int Explorer::DRIVE_STALLED = 2 [static]
 

Used as result code for Explorer::activate()

const int Explorer::ROBOT_DETECTED = 0 [static]
 

Used as result code for Explorer::activate()


Generated on Mon Aug 26 18:34:09 2002 for Cube Clustering by doxygen1.3-rc3