ZeusMath-Library
2.0.4
|
#include <GraphIterator.h>
Public Member Functions | |
TGraphIterator (TGraph &rGraph) | |
void | startWith (Uint uiVertice) const |
virtual void | reset ()=0 |
virtual Retval | getNextVertice (TVertice *&rpVertice)=0 |
Retval | getNextVerticeConst (TVertice *&rpVertice) const |
Protected Member Functions | |
virtual | ~TGraphIterator () |
Protected Attributes | |
TGraph & | m_rGraph |
graph More... | |
TVertice * | m_pStartVertice |
Start vertice. More... | |
Iterator class to iterate through the graph of vertices
TGraphIterator::TGraphIterator | ( | TGraph & | rGraph | ) |
creates a new graph iterator
|
protectedvirtual |
destroys the iterator
|
pure virtual |
Implemented in zeus::TGraphBreathIterator, and zeus::TGraphDepthIterator.
|
inline |
|
pure virtual |
Implemented in zeus::TGraphBreathIterator, and zeus::TGraphDepthIterator.
void TGraphIterator::startWith | ( | Uint | uiVertice | ) | const |
starts with a specific vertice
uiVertice | : ID of the vertice to start with |
|
protected |
Start vertice.
|
protected |
graph