![]() |
Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
|
Arc, directed, from the tail to the head. With a few bells and whistles to allow its use within hash tables.
Definition at line 62 of file simple_graph.h.
#include <simple_graph.h>
Public Member Functions | |
| Arc (int64_t tail, int64_t head) | |
| Arc (const Edge &edge) | |
| int64_t | tail () const |
| int64_t | head () const |
| Arc | reversed () const |
| bool | operator== (const Arc &other) const |
| bool | operator!= (const Arc &other) const |
Friends | |
| template<typename H> | |
| H | AbslHashValue (H h, const Arc &a) |
|
inline |
Definition at line 64 of file simple_graph.h.
|
explicit |
Definition at line 19 of file simple_graph.cc.
|
inline |
Definition at line 68 of file simple_graph.h.
|
inline |
Definition at line 75 of file simple_graph.h.
|
inline |
Definition at line 71 of file simple_graph.h.
|
inline |
Definition at line 69 of file simple_graph.h.
|
inline |
Definition at line 67 of file simple_graph.h.
|
friend |
Unlike the edge, this value must depend on the direction of the arc.
Definition at line 78 of file simple_graph.h.