22 #ifndef TULIP_SIMPLETEST_H
23 #define TULIP_SIMPLETEST_H
25 #include <tulip/tuliphash.h>
26 #include <tulip/Observable.h>
37 class TLP_SCOPE SimpleTest :
private Observable {
46 static bool isSimple(
const Graph *graph);
59 static void makeSimple(Graph* graph, std::vector<edge> &removed);
74 static bool simpleTest(
const Graph *graph, std::vector<edge> *multipleEdges=NULL, std::vector<edge> *loops=NULL);
79 void treatEvent(
const Event&);
80 void deleteResult(Graph *graph);
85 static SimpleTest *instance;
89 TLP_HASH_MAP<unsigned long, bool> resultsBuffer;