Class GraphNode

Index Home MAE > MAE Architecture > MAE Data Types > Class Index > Class GraphNode

Public Methods
GraphNode(nodeLabel, nodedata)
inline const string& getLabel() const
inline bool isVisited() const
inline void setVisited(visitTrue)
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

#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

int adjnode


inline void addEdge(adjnode)

int adjnode


inline const IntList& getAdjacentNodes() const

inline const unsigned int noEdges() const

inline const string& setData(newdata)

const string& newdata


inline const string& getData() const

Private Properties

string label

IntList adjacent

bool visited

string data