Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
#include <ebert_graph.h>
Public Member Functions | |
GraphBuilderFromArcs (typename GraphType::NodeIndex max_num_nodes, typename GraphType::ArcIndex max_num_arcs, bool sort_arcs) | |
GraphType::ArcIndex | AddArc (typename GraphType::NodeIndex tail, typename GraphType::NodeIndex head) |
GraphType * | Graph (PermutationCycleHandler< typename GraphType::ArcIndex > *client_cycle_handler) |
Builds the graph from the given arcs. | |
The GraphBuilderFromArcs class template is not expected to be used by clients. It is a helper for the AnnotatedGraphBuildManager template.
Deletes itself upon returning the graph!
Definition at line 1968 of file ebert_graph.h.
|
inline |
Definition at line 1970 of file ebert_graph.h.
|
inline |
Too many arcs or node index out of bounds!
Definition at line 1977 of file ebert_graph.h.
|
inline |
Builds the graph from the given arcs.
Definition at line 1996 of file ebert_graph.h.