Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
#include <simple_graph.h>
Public Member Functions | |
Edge (int64_t tail, int64_t head) | |
Edge (const Arc &arc) | |
int64_t | tail () const |
int64_t | head () const |
bool | operator== (const Edge &other) const |
bool | operator!= (const Edge &other) const |
Friends | |
template<typename H > | |
H | AbslHashValue (H h, const Edge &a) |
Edge, undirected, between the head to the tail. With a few bells and whistles to allow its use within hash tables.
Definition at line 32 of file simple_graph.h.
|
inline |
Definition at line 34 of file simple_graph.h.
|
explicit |
Definition at line 18 of file simple_graph.cc.
|
inline |
Definition at line 38 of file simple_graph.h.
|
inline |
Definition at line 45 of file simple_graph.h.
|
inline |
Definition at line 40 of file simple_graph.h.
|
inline |
Definition at line 37 of file simple_graph.h.
|
friend |
This hash value should not depend on the direction of the edge, hence the use of min and max.
Definition at line 48 of file simple_graph.h.