Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
#include <bidirectional_dijkstra.h>
Public Member Functions | |
bool | operator< (const NodeDistance &other) const |
std::string | DebugString () const |
Public Attributes | |
NodeIndex | node |
DistanceType | distance |
Represents a node with a distance (typically from one end of the search, either the source or the destination).
Definition at line 61 of file bidirectional_dijkstra.h.
|
inline |
Definition at line 69 of file bidirectional_dijkstra.h.
|
inline |
We inverse the < operator to easily use this node within priority queues where the closest node comes first.
Definition at line 66 of file bidirectional_dijkstra.h.
DistanceType operations_research::BidirectionalDijkstra< GraphType, DistanceType >::NodeDistance::distance |
Definition at line 63 of file bidirectional_dijkstra.h.
NodeIndex operations_research::BidirectionalDijkstra< GraphType, DistanceType >::NodeDistance::node |
Definition at line 62 of file bidirectional_dijkstra.h.