COIN-OR::LEMON - Graph Library

Changeset 1665:fdeb961110ac in lemon-0.x for lemon/bfs.h


Ignore:
Timestamp:
08/30/05 16:55:11 (19 years ago)
Author:
Alpar Juttner
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2181
Message:

Functions to query the next node/edge to be processed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/bfs.h

    r1631 r1665  
    544544    }
    545545     
     546    ///Next node to be processed.
     547
     548    ///Next node to be processed.
     549    ///
     550    ///\return The next node to be processed or INVALID if the queue is
     551    /// empty.
     552    Node NextNode()
     553    {
     554      return _queue_tail<_queue_head?_queue[_queue_tail]:INVALID;
     555    }
     556 
    546557    ///\brief Returns \c false if there are nodes
    547558    ///to be processed in the queue
Note: See TracChangeset for help on using the changeset viewer.