Open
Graph Drawing
Framework

 v. 2020.02 (Catalpa)
 

PlanarityModule.h
Go to the documentation of this file.
1 
32 #pragma once
33 
34 #include <ogdf/basic/Graph.h>
35 
36 namespace ogdf {
37 
39 
49 
50 public:
51 
53  virtual ~PlanarityModule() { }
54 
56  virtual bool isPlanar(const Graph &G) = 0;
57 
59 
62  virtual bool isPlanarDestructive(Graph &G) = 0;
63 
65  virtual bool planarEmbed(Graph &G) = 0;
66 
68 
76  virtual bool planarEmbedPlanarGraph(Graph &G) = 0;
77 
78 };
79 
80 }
Data type for general directed graphs (adjacency list representation).
Definition: Graph_d.h:492
Module for planarity testing and planar embeddings.
virtual bool isPlanarDestructive(Graph &G)=0
Returns true, if G is planar, false otherwise. In the graph is non-planar, the graph may be arbitrari...
Includes declaration of graph class.
virtual bool planarEmbedPlanarGraph(Graph &G)=0
Constructs a planar embedding of G. G has to be planar!
virtual bool planarEmbed(Graph &G)=0
Returns true, if G is planar, false otherwise. If true, G contains a planar embedding.
The namespace for all OGDF objects.
virtual bool isPlanar(const Graph &G)=0
Returns true, if G is planar, false otherwise.