6#include <Eigen/Geometry>
20 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
A Node can store data to all valid neighbors (successors) and a precessor.
std::vector< Eigen::Vector2f > traversePredecessors() const
Collects all predecessors in order to generate path to starting point.
EIGEN_MAKE_ALIGNED_OPERATOR_NEW Node(const Eigen::Vector2f &position, float obstacleDistance)
NodePtr predecessor
For traversal.
std::vector< NodePtr > successors
All nodes that are adjacent to this one.
std::shared_ptr< Node > NodePtr