Jafar
|
NavGNode is the class for representing each node in the navigation graph. More...
NavGNode is the class for representing each node in the navigation graph.
Each node corresponds to a position in the environment.
Definition at line 26 of file NavGNode.hpp.
#include <NavGNode.hpp>
Public Member Functions | |
NavGNode (int _x=0, int _y=0) | |
NavGNode (const NavLocation &_loc) | |
void | setPotential (double val) |
set this node potential | |
bool | operator== (const NavGNode &rhs) const |
Equality boolean operator. | |
bool | operator< (const NavGNode &rhs) const |
Operator < using lexical order. | |
bool | operator> (const NavGNode &rhs) const |
}}} | |
Public Attributes | |
NavLocation | pos |
{{{ | |
double | grp |
Goal Reaching Potential. | |
bool | hasPotential |
Is true if the potential has been set at least once. |
jafar::lgl::NavGNode::NavGNode | ( | int | _x = 0 , |
int | _y = 0 |
||
) | [inline] |
x | X position of the node |
y | Y position of the node |
Definition at line 47 of file NavGNode.hpp.
bool jafar::lgl::NavGNode::operator< | ( | const NavGNode & | rhs | ) | const [inline] |
Operator < using lexical order.
{{{
Definition at line 80 of file NavGNode.hpp.
References pos, and jafar::lgl::NavLocation::pos_x.
bool jafar::lgl::NavGNode::operator> | ( | const NavGNode & | rhs | ) | const [inline] |
}}}
Operator > using lexical order
{{{
Definition at line 92 of file NavGNode.hpp.
References pos, and jafar::lgl::NavLocation::pos_x.
double jafar::lgl::NavGNode::grp |
Goal Reaching Potential.
At each node visited during the path tracing algorithm we can evaluate the goal reaching potential
Definition at line 37 of file NavGNode.hpp.
Referenced by setPotential().
{{{
Nodes position held in a navigation location
Definition at line 29 of file NavGNode.hpp.
Referenced by operator<(), operator==(), and operator>().
Generated on Wed Oct 15 2014 00:37:41 for Jafar by doxygen 1.7.6.1 |