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> 53 static bool isPlanar(
Graph *graph);
65 static bool isPlanarEmbedding(
const Graph *graph);
74 static bool planarEmbedding(
Graph *graph);
82 static std::list<edge> getObstructionsEdges(
Graph *graph);
87 void treatEvent(
const Event&);
88 bool compute(
Graph *graph);
97 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.