Struct to organize navigation cost. More...
#include <navigationcost.h>
Public Member Functions | |
bool | operator< (const NavigationCost &other) const |
bool | operator== (const NavigationCost &other) const |
NavigationCost () | |
Construct a new NavigationCost object. More... | |
NavigationCost (double distanceToGoal) | |
Construct a new NavigationCost object. More... | |
double | getDistanceToGoal () |
Get the distance to goal. More... | |
void | setDistanceToGoal (double value) |
Set the distance to goal. More... | |
double | getCombinedCost () |
Get combined cost. More... | |
Static Public Member Functions | |
static double | maximum_cost () |
Private Attributes | |
double | distanceToGoal_ |
Struct to organize navigation cost.
|
inline |
Construct a new NavigationCost object.
|
inline |
Construct a new NavigationCost object.
distanceToGoal | distance to goal for the new NavigationCost object |
|
inline |
Get combined cost.
|
inline |
Get the distance to goal.
|
inlinestatic |
|
inline |
|
inline |
|
inline |
Set the distance to goal.
value | distance to goal |
|
private |
distance to goal