22 #ifndef TULIP_PLANARITYTESTX_H
23 #define TULIP_PLANARITYTESTX_H
26 #include <tulip/tulipconf.h>
27 #include <tulip/tuliphash.h>
28 #include <tulip/Observable.h>
29 #include <tulip/Edge.h>
40 class TLP_SCOPE PlanarityTest :
private Observable {
56 static bool isPlanar(Graph *graph);
68 static bool isPlanarEmbedding(
const Graph *graph);
77 static bool planarEmbedding(Graph *graph);
85 static std::list<edge> getObstructionsEdges(Graph *graph);
90 void treatEvent(
const Event&);
91 bool compute(Graph *graph);
96 static PlanarityTest * instance;
100 TLP_HASH_MAP<unsigned long, bool> resultsBuffer;