21 #ifndef TULIP_CONNECTEDTEST_H
22 #define TULIP_CONNECTEDTEST_H
26 #include <tulip/tuliphash.h>
27 #include <tulip/Observable.h>
47 static bool isConnected(
const Graph*
const graph);
56 static void makeConnected(
Graph *graph, std::vector<edge>& addedEdges);
64 static unsigned int numberOfConnectedComponents(
const Graph*
const graph);
74 static void computeConnectedComponents(
const Graph *graph, std::vector< std::set<node> >& components);
87 void connect(
const Graph *
const, std::vector<node>& toLink);
95 bool compute(
const Graph *
const);
98 virtual void treatEvent(
const Event&);
107 TLP_HASH_MAP<unsigned long,bool> resultsBuffer;