Class GraphNode
Index Home MAE > MAE Architecture > MAE Data Types > Class Index > Class GraphNode
#include <Graph.h >
Public Methods
GraphNode(nodeLabel, nodedata)
const string& nodeLabel
|
|
const string& nodedata
|
|
inline const string& getLabel() const
inline bool isVisited() const
inline void setVisited(visitTrue)
bool visitTrue
|
Default value: true
|
inline void clearVisited()
inline bool isAdjacent(adjnode) const
inline void addEdge(adjnode)
inline const IntList& getAdjacentNodes() const
inline const unsigned int noEdges() const
inline const string& setData(newdata)
inline const string& getData() const
Private Properties
string label
|
|
IntList adjacent
|
|
bool visited
|
|
string data
|
|