#include <astar2.h>
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 () |
Definition at line 166 of file astar2.h.
| typedef multiset<Node, less<Node> > AStar3D::Container::Parent |
| typedef Parent::iterator AStar3D::Container::iterator |
| 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] |
| bool AStar3D::Container::empty | ( | ) | [inline] |
| 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().
1.5.1