Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

AStar3D::Container Class Reference

#include <astar2.h>

List of all members.

Public Types

typedef multiset< Node, less<
Node > > 
Parent
typedef Parent::iterator iterator

Public Member Functions

void add (const Node &node)
bool update (const Node &node)
Node getFirst ()
bool empty ()
iterator find (const MapCoordinate3D &pos)
iterator begin ()
iterator end ()


Member Typedef Documentation

typedef Parent::iterator AStar3D::Container::iterator
 

Definition at line 168 of file astar2.h.

typedef multiset<Node, less<Node> > AStar3D::Container::Parent
 

Definition at line 162 of file astar2.h.


Member Function Documentation

void AStar3D::Container::add const Node node  )  [inline]
 

Definition at line 165 of file astar2.h.

Referenced by AStar3D::findPath(), AStar3D::nodeVisited(), and update().

iterator AStar3D::Container::begin  )  [inline]
 

Definition at line 174 of file astar2.h.

Referenced by find(), and AStar3D::findAllAccessibleFields().

bool AStar3D::Container::empty  )  [inline]
 

Definition at line 168 of file astar2.h.

Referenced by AStar3D::findPath().

iterator AStar3D::Container::end  )  [inline]
 

Definition at line 175 of file astar2.h.

Referenced by AStar3D::fieldVisited(), find(), and AStar3D::findAllAccessibleFields().

AStar3D::Container::iterator AStar3D::Container::find const MapCoordinate3D pos  ) 
 

Definition at line 418 of file astar2.cpp.

References begin(), and end().

Referenced by AStar3D::fieldVisited(), and update().

Node AStar3D::Container::getFirst  )  [inline]
 

Definition at line 167 of file astar2.h.

Referenced by AStar3D::findPath().

bool AStar3D::Container::update const Node node  ) 
 

Definition at line 406 of file astar2.cpp.

References add(), find(), AStar3D::Node::gval, AStar3D::Node::h, and AStar3D::Node::hasAttacked.

Referenced by AStar3D::nodeVisited().


The documentation for this class was generated from the following files:
Generated on Tue Jun 24 02:16:14 2008 for Advanced Strategic Command by  doxygen 1.4.2