Planeshift
Public Member Functions

celNode Class Reference

#include <celgraph.h>

List of all members.

Public Member Functions

virtual size_t AddSuccessor (iCelNode *node, bool state)
virtual size_t AddSuccessor (iCelNode *node, bool state, float weight)
 celNode ()
virtual csArray< iCelNode * > GetAllSuccessors ()
virtual float GetCost ()
virtual iCelEdge * GetEdge (size_t idx)
virtual size_t GetEdgeCount ()
virtual csRefArray< iCelEdge > * GetEdges ()
virtual float GetHeuristic ()
virtual iMapNode * GetMapNode ()
virtual const char * GetName ()
virtual iCelNode * GetParent ()
virtual csVector3 GetPosition ()
virtual csArray< iCelNode * > GetSuccessors ()
virtual void Heuristic (float cost, iCelNode *goal)
virtual void RemoveEdge (size_t idx)
virtual void SetMapNode (iMapNode *node)
virtual void SetName (const char *n)
virtual void SetParent (iCelNode *par)
virtual ~celNode ()

Detailed Description

Definition at line 62 of file celgraph.h.


Constructor & Destructor Documentation

celNode::celNode ( )
virtual celNode::~celNode ( ) [virtual]

Member Function Documentation

virtual size_t celNode::AddSuccessor ( iCelNode *  node,
bool  state 
) [virtual]
virtual size_t celNode::AddSuccessor ( iCelNode *  node,
bool  state,
float  weight 
) [virtual]
virtual csArray<iCelNode*> celNode::GetAllSuccessors ( ) [virtual]
virtual float celNode::GetCost ( ) [inline, virtual]

Definition at line 88 of file celgraph.h.

virtual iCelEdge* celNode::GetEdge ( size_t  idx) [inline, virtual]

Definition at line 91 of file celgraph.h.

virtual size_t celNode::GetEdgeCount ( ) [inline, virtual]

Definition at line 89 of file celgraph.h.

virtual csRefArray<iCelEdge>* celNode::GetEdges ( ) [virtual]
virtual float celNode::GetHeuristic ( ) [inline, virtual]

Definition at line 87 of file celgraph.h.

virtual iMapNode* celNode::GetMapNode ( ) [virtual]
virtual const char* celNode::GetName ( ) [virtual]
virtual iCelNode* celNode::GetParent ( ) [inline, virtual]

Definition at line 84 of file celgraph.h.

virtual csVector3 celNode::GetPosition ( ) [virtual]
virtual csArray<iCelNode*> celNode::GetSuccessors ( ) [virtual]
virtual void celNode::Heuristic ( float  cost,
iCelNode *  goal 
) [virtual]
virtual void celNode::RemoveEdge ( size_t  idx) [virtual]
virtual void celNode::SetMapNode ( iMapNode *  node) [virtual]
virtual void celNode::SetName ( const char *  n) [virtual]
virtual void celNode::SetParent ( iCelNode *  par) [virtual]

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