![]() |
NDEVR
API Documentation
|
Cost function that assigns uniform cost of 1.0 to every edge. More...
Public Member Functions | |
| virtual g_type | operator() (HyperGraph::HGEdge *edge, HyperGraph::HGVertex *from, HyperGraph::HGVertex *to) |
| Returns 1.0 for any edge, implementing uniform cost. | |
Cost function that assigns uniform cost of 1.0 to every edge.
Definition at line 174 of file hyper_dijkstra.h.
|
virtual |
Returns 1.0 for any edge, implementing uniform cost.
| [in] | edge | The edge (unused). |
| [in] | from | The source vertex (unused). |
| [in] | to | The destination vertex (unused). |
Implements HyperDijkstra::CostFunction.