Open
Graph Drawing
Framework

 v. 2020.02 (Catalpa)
 

ClusterPlanarModule.h
Go to the documentation of this file.
1 
33 #pragma once
34 
35 #include <ogdf/basic/Module.h>
37 
38 namespace ogdf {
39 
41 public:
43  virtual ~ClusterPlanarModule() { }
44 
46  virtual bool isClusterPlanar(const ClusterGraph &CG) {
47  return doTest(CG);
48  }
49 
50 protected:
52  virtual bool doTest(const ClusterGraph &CG) = 0;
53 
55 };
56 
57 }
Derived class of GraphObserver providing additional functionality to handle clustered graphs...
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
Definition: config.h:99
#define OGDF_MALLOC_NEW_DELETE
Makes the class use malloc for memory allocation.
Definition: memory.h:91
Declares base class for all module types.
Base class for modules.
Definition: Module.h:47
Representation of clustered graphs.
Definition: ClusterGraph.h:291
The namespace for all OGDF objects.
virtual bool isClusterPlanar(const ClusterGraph &CG)
Returns true, if CG is c-planar, false otherwise.