Main   Class Hierarchy   Classes   Compound List   Files   Compound Members   File Members   Pages  

PathFind::AStarClosed Class Reference

#include <astar.h>

List of all members.


Detailed Description

Closed list implementation using a list.

Definition at line 68 of file astar.h.

Public Member Functions

void add (const AStarNode &node)
vector< int > constructPath (int start, int target)
void init (int maxNodeId)
void print (ostream &ostrm) const
void remove (int nodeId)
const AStarNodesearch (int nodeId) const

Private Attributes

list< AStarNodem_list


Member Function Documentation

void AStarClosed::add const AStarNode node  ) 
 

Definition at line 50 of file astar.cpp.

References m_list.

vector< int > AStarClosed::constructPath int  start,
int  target
 

Definition at line 55 of file astar.cpp.

References PathFind::AStarNode::m_parent, and search().

void AStarClosed::init int  maxNodeId  ) 
 

Definition at line 74 of file astar.cpp.

References m_list.

void AStarClosed::print ostream &  ostrm  )  const
 

Definition at line 79 of file astar.cpp.

References m_list.

void AStarClosed::remove int  nodeId  ) 
 

Definition at line 91 of file astar.cpp.

References m_list.

const AStarNode * AStarClosed::search int  nodeId  )  const
 

Definition at line 102 of file astar.cpp.

References m_list.

Referenced by constructPath().


Member Data Documentation

list<AStarNode> PathFind::AStarClosed::m_list [private]
 

Definition at line 84 of file astar.h.

Referenced by add(), init(), print(), remove(), and search().


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


Generated on Thu Aug 7 13:05:20 2003 by Doxygen1.3.1