22 #ifndef TULIP_SIMPLETEST_H
23 #define TULIP_SIMPLETEST_H
25 #include <tulip/tuliphash.h>
26 #include <tulip/Observable.h>
27 #include <tulip/Graph.h>
36 class TLP_SCOPE SimpleTest :
private Observable {
45 static bool isSimple(
const Graph *graph);
58 static void makeSimple(Graph* graph, std::vector<edge> &removed);
73 static bool simpleTest(
const Graph *graph, std::vector<edge> *multipleEdges=NULL, std::vector<edge> *loops=NULL);
78 void treatEvent(
const Event&);
79 void deleteResult(Graph *graph);
84 static SimpleTest *instance;
88 TLP_HASH_MAP<const Graph*, bool> resultsBuffer;