21 #ifndef TULIP_CONNECTEDTEST_H
22 #define TULIP_CONNECTEDTEST_H
26 #include <tulip/tuliphash.h>
27 #include <tulip/Observable.h>
28 #include <tulip/Graph.h>
46 static bool isConnected(
const Graph*
const graph);
55 static void makeConnected(
Graph *graph, std::vector<edge>& addedEdges);
63 static unsigned int numberOfConnectedComponents(
const Graph*
const graph);
73 static void computeConnectedComponents(
const Graph *graph, std::vector< std::set<node> >& components);
86 void connect(
const Graph *
const, std::vector<node>& toLink);
94 bool compute(
const Graph *
const);
97 virtual void treatEvent(
const Event&);
106 TLP_HASH_MAP<const Graph*,bool> resultsBuffer;