A struct that provides the comparison of edge objects.
More...
#include <edge.h>
A struct that provides the comparison of edge objects.
Definition at line 46 of file edge.h.
◆ operator()()
bool compare_edge::operator() |
( |
const edge & |
a, |
|
|
const edge & |
b |
|
) |
| const |
Compare two edge objects in terms of cost.
- Parameters
-
a | First edge. |
b | Second edge. |
- Returns
- True, if the cost of the first edge is lower than the cost of the second edge, false otherwise.
Definition at line 12 of file edge.cpp.
The documentation for this struct was generated from the following files: