20 #ifndef TULIP_PLANARITYTESTX_H 21 #define TULIP_PLANARITYTESTX_H 24 #include <tulip/tulipconf.h> 25 #include <tulip/tuliphash.h> 26 #include <tulip/Observable.h> 27 #include <tulip/Edge.h> 28 #include <tulip/Graph.h> 55 static bool isPlanar(
Graph *graph);
68 static bool isPlanarEmbedding(
const Graph *graph);
78 static bool planarEmbedding(
Graph *graph);
87 static std::list<edge> getObstructionsEdges(
Graph *graph);
92 void treatEvent(
const Event &)
override;
93 bool compute(
Graph *graph);
103 TLP_HASH_MAP<const Graph *, bool> resultsBuffer;
performs tests to check whether a graph is planar. From wikipedia: "A planar graph is a graph that ca...
Event is the base class for all events used in the Observation mechanism.
The Observable class is the base of Tulip's observation system.