|
A Node can store data to all valid neighbors (successors) and a precessor. More...
#include <armarx/navigation/algorithms/astar/Node.h>
Public Member Functions | |
EIGEN_MAKE_ALIGNED_OPERATOR_NEW | Node (const Eigen::Vector2f &position, float obstacleDistance) |
std::vector< Eigen::Vector2f > | traversePredecessors () const |
Collects all predecessors in order to generate path to starting point. More... | |
Public Attributes | |
float | obstacleDistance |
Eigen::Vector2f | position |
NodePtr | predecessor |
For traversal. More... | |
std::vector< NodePtr > | successors |
All nodes that are adjacent to this one. More... | |
A Node can store data to all valid neighbors (successors) and a precessor.
It offers methods to determine the complete path to the starting point.
std::vector< Eigen::Vector2f > traversePredecessors | ( | ) | const |
std::vector<NodePtr> successors |