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 ()


Detailed Description

Definition at line 166 of file astar2.h.


Member Typedef Documentation

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

Definition at line 168 of file astar2.h.

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

Definition at line 174 of file astar2.h.


Member Function Documentation

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

Definition at line 171 of file astar2.h.

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

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

Definition at line 405 of file astar2.cpp.

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

Referenced by AStar3D::nodeVisited().

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

Definition at line 173 of file astar2.h.

Referenced by AStar3D::findPath().

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

Definition at line 174 of file astar2.h.

Referenced by AStar3D::findPath().

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

Definition at line 417 of file astar2.cpp.

References begin(), and end().

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

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

Definition at line 180 of file astar2.h.

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

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

Definition at line 181 of file astar2.h.

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


The documentation for this class was generated from the following files:
Generated on Mon May 21 01:46:20 2012 for Advanced Strategic Command by  doxygen 1.5.1