Tulip  4.6.0
Better Visualization Through Research
library/tulip-core/include/tulip/Bfs.h
00001 /*
00002  *
00003  * This file is part of Tulip (www.tulip-software.org)
00004  *
00005  * Authors: David Auber and the Tulip development Team
00006  * from LaBRI, University of Bordeaux
00007  *
00008  * Tulip is free software; you can redistribute it and/or modify
00009  * it under the terms of the GNU Lesser General Public License
00010  * as published by the Free Software Foundation, either version 3
00011  * of the License, or (at your option) any later version.
00012  *
00013  * Tulip is distributed in the hope that it will be useful,
00014  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00015  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
00016  * See the GNU General Public License for more details.
00017  *
00018  */
00019 ///@cond DOXYGEN_HIDDEN
00020 
00021 
00022 #ifndef Bfs_H
00023 #define Bfs_H
00024 
00025 #include <tulip/MutableContainer.h>
00026 #include <tulip/Node.h>
00027 
00028 namespace tlp {
00029 class Graph;
00030 class BooleanProperty;
00031 class TLP_SCOPE Bfs {
00032 public :
00033 
00034   Bfs(Graph * G, BooleanProperty* resultatAlgoSelection);
00035   ~Bfs();
00036 
00037   Graph *graph;
00038 
00039 private :
00040 
00041   void computeBfs(Graph * G, BooleanProperty* resultatAlgoSelection, node root);
00042 
00043   unsigned int nbNodes;
00044   MutableContainer<bool> selectedNodes;
00045   MutableContainer<bool> selectedEdges;
00046 
00047 };
00048 }
00049 #endif
00050 ///@endcond
 All Classes Files Functions Variables Enumerations Enumerator Properties