Actin®
Version 5.2.0
Software for Robotics Simulation and Control

#include <ecTreeNode.h>
Public Member Functions  
EcTreeNodeIndex ()  
default constructor  
EcTreeNodeIndex (EcSizeT index, EcReal cost)  
constructor  
EcSizeT  index () const 
return the index of the tree node  
bool  operator() (const EcTreeNodeIndex &lhs, const EcTreeNodeIndex &rhs) const 
compare function for minheap (need to reverse it since the heap we're using support maxheap)  
EcTreeNodeIndex is used as a lighterweight representation of EcTreeNode where only the index and cost are important. The node itself can then be retrieved by the index via the tree. This class is used primarily in the min heap for obtaining the node closest to the goal (i.e. node with min cost).
Definition at line 125 of file ecTreeNode.h.