C++ Reference
C++ Reference: Graph
Detailed Description
template<typename NodeIndexType, typename ArcIndexType, typename DerivedGraph>
class operations_research::EbertGraphBase< NodeIndexType, ArcIndexType, DerivedGraph >
Definition at line 949 of file ebert_graph.h.
Classes | |
| class | CycleHandlerForAnnotatedArcs |
Public Member Functions | |
| bool | Reserve (NodeIndexType new_max_num_nodes, ArcIndexType new_max_num_arcs) |
| ArcIndexType | AddArc (NodeIndexType tail, NodeIndexType head) |
| template<typename ArcIndexTypeStrictWeakOrderingFunctor > | |
| void | GroupForwardArcsByFunctor (const ArcIndexTypeStrictWeakOrderingFunctor &compare, PermutationCycleHandler< ArcIndexType > *annotation_handler) |
| ArcIndexType | end_arc_index () const |
| bool | IsNodeValid (NodeIndexType node) const |
| NodeIndexType | num_nodes () const |
| ArcIndexType | num_arcs () const |
| NodeIndexType | end_node_index () const |
| ArcIndexType | end_arc_index () const |
| NodeIndexType | max_num_nodes () const |
| ArcIndexType | max_num_arcs () const |
| NodeIndexType | max_end_node_index () const |
| ArcIndexType | max_end_arc_index () const |
| bool | IsNodeValid (NodeIndexType node) const |
| ArcIndexType | LookUpArc (const NodeIndexType tail, const NodeIndexType head) const |
| NodeIndexType | Head (const ArcIndexType arc) const |
| std::string | NodeDebugString (const NodeIndexType node) const |
| std::string | ArcDebugString (const ArcIndexType arc) const |
Static Public Attributes | |
| static const ArcIndexType | kFirstArc |
| static const NodeIndexType | kFirstNode |
| static const ArcIndexType | kMaxNumArcs |
| static const NodeIndexType | kMaxNumNodes |
| static const ArcIndexType | kNilArc |
| static const NodeIndexType | kNilNode |
Protected Member Functions | |
| EbertGraphBase () | |
| ~EbertGraphBase () | |
| void | Initialize (NodeIndexType max_num_nodes, ArcIndexType max_num_arcs) |
| ArcIndexType | FirstOutgoingOrOppositeIncomingArc (const NodeIndexType node) const |
| ArcIndexType | NextAdjacentArc (const ArcIndexType arc) const |
| ArcIndexType | NextOutgoingArc (const NodeIndexType unused_node, const ArcIndexType arc) const |
| NodeIndexType | StartNode (NodeIndexType node) const |
| ArcIndexType | StartArc (ArcIndexType arc) const |
| NodeIndexType | NextNode (const NodeIndexType node) const |
| ArcIndexType | NextArc (const ArcIndexType arc) const |
| ArcIndexType | FirstOutgoingArc (const NodeIndexType node) const |
Protected Attributes | |
| ZVector< ArcIndexType > | next_adjacent_arc_ |
| bool | representation_clean_ |
| ZVector< ArcIndexType > | first_incident_arc_ |
| ZVector< NodeIndexType > | head_ |
| ArcIndexType | max_num_arcs_ |
| NodeIndexType | max_num_nodes_ |
| ArcIndexType | num_arcs_ |
| NodeIndexType | num_nodes_ |
Constructor & Destructor Documentation
◆ EbertGraphBase()
|
inlineprotected |
Definition at line 1109 of file ebert_graph.h.
◆ ~EbertGraphBase()
|
inlineprotected |
Definition at line 1111 of file ebert_graph.h.
Member Function Documentation
◆ AddArc()
|
inline |
Definition at line 1002 of file ebert_graph.h.
◆ ArcDebugString()
|
inlineinherited |
Definition at line 311 of file ebert_graph.h.
◆ end_arc_index() [1/2]
|
inlineinherited |
Definition at line 253 of file ebert_graph.h.
◆ end_arc_index() [2/2]
|
inline |
Definition at line 253 of file ebert_graph.h.
◆ end_node_index()
|
inlineinherited |
Definition at line 248 of file ebert_graph.h.
◆ FirstOutgoingArc()
|
inlineprotectedinherited |
Definition at line 480 of file ebert_graph.h.
◆ FirstOutgoingOrOppositeIncomingArc()
|
inlineprotected |
Definition at line 1124 of file ebert_graph.h.
◆ GroupForwardArcsByFunctor()
|
inline |
Definition at line 1023 of file ebert_graph.h.
◆ Head()
|
inlineinherited |
Definition at line 298 of file ebert_graph.h.
◆ Initialize()
|
inlineprotected |
Definition at line 1113 of file ebert_graph.h.
◆ IsNodeValid() [1/2]
|
inlineinherited |
Definition at line 280 of file ebert_graph.h.
◆ IsNodeValid() [2/2]
|
inline |
Definition at line 280 of file ebert_graph.h.
◆ LookUpArc()
|
inlineinherited |
Definition at line 286 of file ebert_graph.h.
◆ max_end_arc_index()
|
inlineinherited |
Definition at line 272 of file ebert_graph.h.
◆ max_end_node_index()
|
inlineinherited |
Definition at line 265 of file ebert_graph.h.
◆ max_num_arcs()
|
inlineinherited |
Definition at line 260 of file ebert_graph.h.
◆ max_num_nodes()
|
inlineinherited |
Definition at line 256 of file ebert_graph.h.
◆ NextAdjacentArc()
|
inlineprotected |
Definition at line 1132 of file ebert_graph.h.
◆ NextArc()
|
inlineprotectedinherited |
Definition at line 473 of file ebert_graph.h.
◆ NextNode()
|
inlineprotectedinherited |
Definition at line 459 of file ebert_graph.h.
◆ NextOutgoingArc()
|
inlineprotected |
Definition at line 1139 of file ebert_graph.h.
◆ NodeDebugString()
|
inlineinherited |
Definition at line 303 of file ebert_graph.h.
◆ num_arcs()
|
inlineinherited |
Definition at line 242 of file ebert_graph.h.
◆ num_nodes()
|
inlineinherited |
Definition at line 238 of file ebert_graph.h.
◆ Reserve()
|
inline |
Definition at line 979 of file ebert_graph.h.
◆ StartArc()
|
inlineprotectedinherited |
Definition at line 446 of file ebert_graph.h.
◆ StartNode()
|
inlineprotectedinherited |
Definition at line 440 of file ebert_graph.h.
Member Data Documentation
◆ first_incident_arc_
|
protected |
Definition at line 503 of file ebert_graph.h.
◆ head_
|
protected |
Definition at line 499 of file ebert_graph.h.
◆ kFirstArc
|
static |
Definition at line 226 of file ebert_graph.h.
◆ kFirstNode
|
static |
Definition at line 223 of file ebert_graph.h.
◆ kMaxNumArcs
|
static |
Definition at line 236 of file ebert_graph.h.
◆ kMaxNumNodes
|
static |
Definition at line 231 of file ebert_graph.h.
◆ kNilArc
|
static |
Definition at line 220 of file ebert_graph.h.
◆ kNilNode
|
static |
Definition at line 217 of file ebert_graph.h.
◆ max_num_arcs_
|
protected |
Definition at line 490 of file ebert_graph.h.
◆ max_num_nodes_
|
protected |
Definition at line 487 of file ebert_graph.h.
◆ next_adjacent_arc_
|
protected |
Definition at line 1148 of file ebert_graph.h.
◆ num_arcs_
|
protected |
Definition at line 496 of file ebert_graph.h.
◆ num_nodes_
|
protected |
Definition at line 493 of file ebert_graph.h.
◆ representation_clean_
|
protected |
Definition at line 1153 of file ebert_graph.h.
The documentation for this class was generated from the following file: