MRXT: The Multi-Robot eXploration Tool
Multi-Robot autonomous exploration and mapping simulator.
Public Member Functions | Static Public Member Functions | Private Attributes
treeNode Class Reference

Nodes that form a tree that partitions the environment for the high level planner in the hybrid arquitecture. More...

#include <treeNode.h>

List of all members.

Public Member Functions

 treeNode (int type, int nrobots)
void addChildren (treeNode &child)
void clearRobots ()
treeNodegetChildren (int number) const
double getCost () const
double getiPoints () const
double getLocalCost () const
int getnBots () const
int getNChildren () const
int getNextNodeInPlan () const
int getNodeType () const
treeNodegetParent () const
double getValue () const
int getX () const
int getY () const
bool isLeaf () const
bool isRobot (int robot) const
bool isRoot () const
void setCell (point pos)
void setCost (double val)
void setiPoints (double n)
void setLocalCost (double val)
void setnBots (int n)
void setNextNodeInPlan (int n)
void setParent (treeNode &parent)
void setRobot (int robot)
void setValue (double value)

Static Public Member Functions

static bool orderByCost (const treeNode *a, const treeNode *b)
static bool orderByValue (const treeNode *a, const treeNode *b)

Private Attributes

treeNode ** children
double cost
double ipoints
double localCost
int nbots
int nchildren
int nextNodeInPlan
int node_type
int numrobots
treeNodeparent
bool * robots
double value
int x
int y

Detailed Description

Nodes that form a tree that partitions the environment for the high level planner in the hybrid arquitecture.

Definition at line 15 of file treeNode.h.


The documentation for this class was generated from the following files:
 All Classes Functions Variables Typedefs