#include <graph.h>
Definition at line 24 of file graph.h.
Public Member Functions | |
void | addNode (int nodeId, const NODEINFO &info) |
void | addOutEdge (int sourceNodeId, int targetNodeId, const EDGEINFO &info) |
void | removeNodeEdges (int nodeId) |
void | removeLastNode () |
void | removeOutEdge (int sourceNodeId, int targetNodeId) |
void | clear () |
const Node & | getNode (int nodeId) const |
NODEINFO & | getNodeInfo (int nodeId) |
const NODEINFO & | getNodeInfo (int nodeId) const |
const vector< Edge > & | getOutEdges (int nodeId) const |
Private Member Functions | |
Node & | getNode (int nodeId) |
bool | isValidNodeId (int nodeId) const |
Private Attributes | |
vector< Node > | m_nodes |
|
Definition at line 182 of file graph.h. References PathFind::Graph< NODEINFO, EDGEINFO >::m_nodes. |
|
Definition at line 204 of file graph.h. References PathFind::Graph< NODEINFO, EDGEINFO >::isValidNodeId(), and PathFind::Graph< NODEINFO, EDGEINFO >::m_nodes. |
|
Definition at line 121 of file graph.h. References PathFind::Graph< NODEINFO, EDGEINFO >::m_nodes. |
|
Definition at line 151 of file graph.h. References PathFind::Graph< NODEINFO, EDGEINFO >::isValidNodeId(). |
|
Definition at line 126 of file graph.h. References PathFind::Graph< NODEINFO, EDGEINFO >::isValidNodeId(), and PathFind::Graph< NODEINFO, EDGEINFO >::m_nodes. Referenced by PathFind::Graph< NODEINFO, EDGEINFO >::getNodeInfo(). |
|
Definition at line 137 of file graph.h. References PathFind::Graph< NODEINFO, EDGEINFO >::Node::getInfo(), and PathFind::Graph< NODEINFO, EDGEINFO >::getNode(). |
|
Definition at line 132 of file graph.h. References PathFind::Graph< NODEINFO, EDGEINFO >::Node::getInfo(), and PathFind::Graph< NODEINFO, EDGEINFO >::getNode(). |
|
Definition at line 142 of file graph.h. References PathFind::Graph< NODEINFO, EDGEINFO >::isValidNodeId(), and PathFind::Graph< NODEINFO, EDGEINFO >::m_nodes. |
|
Definition at line 214 of file graph.h. References PathFind::Graph< NODEINFO, EDGEINFO >::m_nodes. Referenced by PathFind::Graph< NODEINFO, EDGEINFO >::addOutEdge(), PathFind::Graph< NODEINFO, EDGEINFO >::getNode(), and PathFind::Graph< NODEINFO, EDGEINFO >::getOutEdges(). |
|
Definition at line 114 of file graph.h. References PathFind::Graph< NODEINFO, EDGEINFO >::m_nodes. |
|
Definition at line 192 of file graph.h. References PathFind::Graph< NODEINFO, EDGEINFO >::m_nodes. |
|
|
|