#include <math/graph.h>
Inherits Graph::GraphBase.
Inheritance diagram for Graph::Graph< NodeData, EdgeData >:
Public Member Functions | |
void | Add (const Graph &right) |
int | AddNode (const NodeData &nd) |
int | AddEdge (const int n0, const int n1) |
int | AddEdge (const int n0, const int n1, const EdgeData &ed) |
void | Clear () |
bool | ContainsNode (const NodeData &value) const |
const NodeData & | GetNodeData (const int nodeNum) const |
void | SetEdgeData (const int edgeNum, const EdgeData &ed) |
Protected Attributes | |
std::vector< NodeData > | m_NodeData |
std::vector< EdgeData > | m_EdgeData |
Definition at line 85 of file graph.h.
|
Referenced by PL_PrmIjg::MergeGraphs(). |
|
Definition at line 137 of file graph.h. References Graph::GraphBase::AddEdge(), and Graph::Graph< NodeData, EdgeData >::SetEdgeData(). Here is the call graph for this function: ![]() |
|
Reimplemented from Graph::GraphBase. Definition at line 128 of file graph.h. References Graph::GraphBase::AddEdge(). Here is the call graph for this function: ![]() |
|
Definition at line 117 of file graph.h. References Graph::GraphBase::AddNode(), and Graph::Graph< NodeData, EdgeData >::m_NodeData. Referenced by PL_PrmIjg::CreateNewGraph(). Here is the call graph for this function: ![]() |
|
Reimplemented from Graph::GraphBase. Definition at line 148 of file graph.h. References Graph::GraphBase::Clear(), Graph::Graph< NodeData, EdgeData >::m_EdgeData, and Graph::Graph< NodeData, EdgeData >::m_NodeData. Referenced by PL_PrmIjg::MergeGraphs(). Here is the call graph for this function: ![]() |
|
Definition at line 159 of file graph.h. References Graph::Graph< NodeData, EdgeData >::m_NodeData. |
|
Definition at line 169 of file graph.h. References Graph::GraphBase::GetNumNodes(), IJG_Assert, and Graph::Graph< NodeData, EdgeData >::m_NodeData. Referenced by PL_PrmIjg::AddNodeToGraph(), PL_PrmIjg::MergeGraphs(), and PL_PrmIjg::PrintGraph(). Here is the call graph for this function: ![]() |
|
Definition at line 185 of file graph.h. References Graph::Graph< NodeData, EdgeData >::m_EdgeData. Referenced by Graph::Graph< NodeData, EdgeData >::AddEdge(). |
|
Definition at line 98 of file graph.h. Referenced by Graph::Graph< NodeData, EdgeData >::Clear(), and Graph::Graph< NodeData, EdgeData >::SetEdgeData(). |
|
Definition at line 97 of file graph.h. Referenced by Graph::Graph< NodeData, EdgeData >::AddNode(), Graph::Graph< NodeData, EdgeData >::Clear(), Graph::Graph< NodeData, EdgeData >::ContainsNode(), and Graph::Graph< NodeData, EdgeData >::GetNodeData(). |