COIN-OR::LEMON - Graph Library

Changeset 1755:bf267b301a5e in lemon-0.x for lemon/bfs.h


Ignore:
Timestamp:
11/02/05 16:28:37 (18 years ago)
Author:
Balazs Dezso
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2284
Message:

Make constructor explicit
Indentation changed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/bfs.h

    r1710 r1755  
    551551    ///will stop when it reaches a node \c v with <tt>nm[v]==true</tt>.
    552552    template<class NM>
    553       void start(const NM &nm)
    554       {
    555         while ( !emptyQueue() && !nm[_queue[_queue_tail]] ) processNextNode();
    556       }
     553    void start(const NM &nm)
     554    {
     555      while ( !emptyQueue() && !nm[_queue[_queue_tail]] ) processNextNode();
     556    }
    557557   
    558558    ///Runs %BFS algorithm from node \c s.
Note: See TracChangeset for help on using the changeset viewer.