C++ Reference

C++ Reference: Graph

ForwardEbertGraph< NodeIndexType, ArcIndexType >

Detailed Description

template<typename NodeIndexType, typename ArcIndexType>
class operations_research::ForwardEbertGraph< NodeIndexType, ArcIndexType >

Definition at line 190 of file ebert_graph.h.

Public Types

typedef NodeIndexType NodeIndex
 
typedef ArcIndexType ArcIndex
 

Public Member Functions

 ForwardEbertGraph ()
 
 ForwardEbertGraph (NodeIndexType max_num_nodes, ArcIndexType max_num_arcs)
 
 ~ForwardEbertGraph ()
 
bool CheckArcBounds (const ArcIndexType arc) const
 
bool CheckArcValidity (const ArcIndexType arc) const
 
bool CheckTailIndexValidity (const ArcIndexType arc) const
 
NodeIndexType Tail (const ArcIndexType arc) const
 
bool IsIncoming (ArcIndexType arc, NodeIndexType node) const
 
void BuildRepresentation ()
 
bool BuildTailArray ()
 
void ReleaseTailArray ()
 
bool TailArrayComplete () const
 
std::string DebugString () const
 
bool IsNodeValid (NodeIndexType node) const
 

Static Public Attributes

static const ArcIndexType kFirstArc
 
static const NodeIndexType kFirstNode
 
static const ArcIndexType kNilArc
 
static const NodeIndexType kNilNode
 

Member Typedef Documentation

◆ ArcIndex

typedef ArcIndexType ArcIndex

Definition at line 1599 of file ebert_graph.h.

◆ NodeIndex

typedef NodeIndexType NodeIndex

Definition at line 1598 of file ebert_graph.h.

Constructor & Destructor Documentation

◆ ForwardEbertGraph() [1/2]

ForwardEbertGraph ( )
inline

Definition at line 1601 of file ebert_graph.h.

◆ ForwardEbertGraph() [2/2]

ForwardEbertGraph ( NodeIndexType  max_num_nodes,
ArcIndexType  max_num_arcs 
)
inline

Definition at line 1603 of file ebert_graph.h.

◆ ~ForwardEbertGraph()

~ForwardEbertGraph ( )
inline

Definition at line 1607 of file ebert_graph.h.

Member Function Documentation

◆ BuildRepresentation()

void BuildRepresentation ( )
inline

Definition at line 1646 of file ebert_graph.h.

◆ BuildTailArray()

bool BuildTailArray ( )
inline

Definition at line 1656 of file ebert_graph.h.

◆ CheckArcBounds()

bool CheckArcBounds ( const ArcIndexType  arc) const
inline

Definition at line 1612 of file ebert_graph.h.

◆ CheckArcValidity()

bool CheckArcValidity ( const ArcIndexType  arc) const
inline

Definition at line 1620 of file ebert_graph.h.

◆ CheckTailIndexValidity()

bool CheckTailIndexValidity ( const ArcIndexType  arc) const
inline

Definition at line 1625 of file ebert_graph.h.

◆ DebugString()

std::string DebugString ( ) const
inline

Definition at line 1698 of file ebert_graph.h.

◆ IsIncoming()

bool IsIncoming ( ArcIndexType  arc,
NodeIndexType  node 
) const
inline

Definition at line 1638 of file ebert_graph.h.

◆ IsNodeValid()

bool IsNodeValid
inline

Definition at line 964 of file ebert_graph.h.

◆ ReleaseTailArray()

void ReleaseTailArray ( )
inline

Definition at line 1684 of file ebert_graph.h.

◆ Tail()

NodeIndexType Tail ( const ArcIndexType  arc) const
inline

Definition at line 1631 of file ebert_graph.h.

◆ TailArrayComplete()

bool TailArrayComplete ( ) const
inline

Definition at line 1687 of file ebert_graph.h.

Member Data Documentation

◆ kFirstArc

const ArcIndexType kFirstArc
static

Definition at line 966 of file ebert_graph.h.

◆ kFirstNode

const NodeIndexType kFirstNode
static

Definition at line 967 of file ebert_graph.h.

◆ kNilArc

const ArcIndexType kNilArc
static

Definition at line 970 of file ebert_graph.h.

◆ kNilNode

const NodeIndexType kNilNode
static

Definition at line 971 of file ebert_graph.h.


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