lemon/bfs.h
changeset 1680 4f8b9cee576b
parent 1631 e15162d8eca1
child 1694 6d81e6f7a88d
equal deleted inserted replaced
4:e63085c923de 5:bf1992d29ff6
   541 	  _dist->set(m,_curr_dist);
   541 	  _dist->set(m,_curr_dist);
   542 	}
   542 	}
   543       return n;
   543       return n;
   544     }
   544     }
   545       
   545       
       
   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  
   546     ///\brief Returns \c false if there are nodes
   557     ///\brief Returns \c false if there are nodes
   547     ///to be processed in the queue
   558     ///to be processed in the queue
   548     ///
   559     ///
   549     ///Returns \c false if there are nodes
   560     ///Returns \c false if there are nodes
   550     ///to be processed in the queue
   561     ///to be processed in the queue