Developer Documentation
RAVL, Recognition And Vision Library
USER HOME PAGE CLASS LIST CONTENTS
Ravl - Core - Branch - BGraphBaseLinearIterC
 

  PUBLIC
BGraphBaseLinearIterC::BGraphBaseLinearIterC(BGraphBaseC &)
BGraphBaseLinearIterC::First(void)
BGraphBaseLinearIterC::Next(void)
BGraphBaseLinearIterC::IsElm(void) const
BGraphBaseLinearIterC::IsCycle(void) const
BGraphBaseLinearIterC::NodesRemaining(void) const
BGraphBaseLinearIterC::NodeH(void) const
BGraphBaseLinearIterC::DoneNode(NodeHandleT)

   BGraphBaseLinearIterC   
 
Base Graph linear iterator.
 
include "Ravl/BGraphLinearIter.hh"
Created:25/11/1997 
Source file:Ravl/Core/Container/Branch/BGraphLinearIter.hh
User Level:Develop
Library:RavlCore
In Scope:RavlN

Parent Classes: Derived Classes: Variables:
BGraphBaseC Graph;
Relavent graph.

StackC Open;
Queue of open nodes.

SArray1dC Mark;
Array of markers.

IntT NodesLeft;
Number of unprocessed nodes.

Methods:
BGraphBaseLinearIterC(BGraphBaseC & aGraph)
Constructor

bool First()
Goto first.
Returns false if list is empty, true otherwise.

bool Next()
Goto next.
Return true if it at a valid element after operation.

bool IsElm() const
At a valid element ?
Returns true if iterator is at a valid element.

bool IsCycle() const
Is graph cyclic ?
Results only valid after iteration complete. i.e. IsElm() returns False.

IntT NodesRemaining() const
Return the number of unprocessed nodes.
Directly after First(), this will be the number of nodes in the graph - 1.

NodeHandleT NodeH(void) const
Get some data.

void DoneNode(NodeHandleT Nd)


Maintainer:Charles Galambos, Created: 25/11/1997, Documentation by CxxDoc: Tue Aug 13 09:59:30 2002