//-*-c++-*-
/**
 Authors: David Auber, Patrick Mary, Morgan Mathiaut
 from the LaBRI Visualization Team
 Email : auber@tulip-software.org
 Last modification : 13/03/2009 
 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by  
 the Free Software Foundation; either version 2 of the License, or     
 (at your option) any later version.
*/

//#ifndef Bfs_H
//#define Bfs_H

#include <tulip/MutableContainer.h>
#include <tulip/Graph.h>

namespace tlp {
class TLP_SCOPE Bfs {
 public :
  
  Bfs(Graph * G, BooleanProperty* resultatAlgoSelection);
  ~Bfs();

  Graph *graph;

 private :

  void computeBfs(Graph * G, BooleanProperty* resultatAlgoSelection, node root);  

  BooleanProperty* s_proxy;
  unsigned int nbNodes;
  MutableContainer<bool>::MutableContainer selectedNodes;
  MutableContainer<bool>::MutableContainer selectedEdges;

 };  
}
