Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
#include <graphs.h>
Public Types | |
typedef Graph::ArcIndex | ArcIndex |
typedef Graph::NodeIndex | NodeIndex |
Static Public Member Functions | |
static ArcIndex | OppositeArc (const Graph &graph, ArcIndex arc) |
static bool | IsArcValid (const Graph &graph, ArcIndex arc) |
static NodeIndex | NodeReservation (const Graph &graph) |
static ArcIndex | ArcReservation (const Graph &graph) |
static void | Build (Graph *graph) |
static void | Build (Graph *graph, std::vector< ArcIndex > *permutation) |
Since StarGraph does not have exactly the same interface as the other graphs, we define a correspondence there.
Graph::ArcIndex operations_research::Graphs< Graph >::ArcIndex |
Graph::NodeIndex operations_research::Graphs< Graph >::NodeIndex |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |