Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

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