C++ Reference

C++ Reference: Graph

GraphBuilderFromArcs< GraphType, true >

Detailed Description

template<typename GraphType>
class operations_research::or_internal::GraphBuilderFromArcs< GraphType, true >

Definition at line 2023 of file ebert_graph.h.

Public Member Functions

 GraphBuilderFromArcs (typename GraphType::NodeIndex max_num_nodes, typename GraphType::ArcIndex max_num_arcs, bool sort_arcs)
 
bool Reserve (const typename GraphType::NodeIndex new_max_num_nodes, const typename GraphType::ArcIndex new_max_num_arcs)
 
GraphType::ArcIndex AddArc (const typename GraphType::NodeIndex tail, const typename GraphType::NodeIndex head)
 
GraphType * Graph (PermutationCycleHandler< typename GraphType::ArcIndex > *client_cycle_handler)
 

Constructor & Destructor Documentation

◆ GraphBuilderFromArcs()

GraphBuilderFromArcs ( typename GraphType::NodeIndex  max_num_nodes,
typename GraphType::ArcIndex  max_num_arcs,
bool  sort_arcs 
)
inline

Definition at line 2025 of file ebert_graph.h.

Member Function Documentation

◆ AddArc()

GraphType::ArcIndex AddArc ( const typename GraphType::NodeIndex  tail,
const typename GraphType::NodeIndex  head 
)
inline

Definition at line 2036 of file ebert_graph.h.

◆ Graph()

GraphType* Graph ( PermutationCycleHandler< typename GraphType::ArcIndex > *  client_cycle_handler)
inline

Definition at line 2042 of file ebert_graph.h.

◆ Reserve()

bool Reserve ( const typename GraphType::NodeIndex  new_max_num_nodes,
const typename GraphType::ArcIndex  new_max_num_arcs 
)
inline

Definition at line 2031 of file ebert_graph.h.


The documentation for this class was generated from the following file: