|
WSF
|
A cost function used by the shortest_path algorithm provided by the RouteGraph class. More...
#include <WsfRouteNetwork.hpp>
Inherits RouteGraph::cost_func.

Public Member Functions | |
| RouteCostFunc () | |
| RouteCostFunc (WsfRouteNetwork *aNetworkPtr) | |
| double | operator() (const RouteEdge &aEdge, const RouteNode &, const RouteNode &) const override |
| Returns the precomputed cost along the edge. | |
| double | operator() (const RouteNode &aNode1, const RouteNode &aNode2) const override |
| Computes a lower-bound cost to move from aNode1 to aNode2 (a straight (curved) line). | |
Public Attributes | |
| WsfRouteNetwork * | mNetworkPtr |
A cost function used by the shortest_path algorithm provided by the RouteGraph class.
|
inline |
References mNetworkPtr.
|
inline |
References mNetworkPtr, and WsfRouteNetwork::WsfRouteNetwork().
|
inlineoverride |
Returns the precomputed cost along the edge.
References WsfRouteNetwork::RouteEdge::mDistance.
|
inlineoverride |
Computes a lower-bound cost to move from aNode1 to aNode2 (a straight (curved) line).
References WsfWaypoint::GetLat(), WsfWaypoint::GetLon(), and WsfRouteNetwork::RouteNode::mWaypoints.
| WsfRouteNetwork* WsfRouteNetwork::RouteCostFunc::mNetworkPtr |
Referenced by RouteCostFunc(), and RouteCostFunc().