Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

FUPSModule.h
Go to the documentation of this file.
1 
32 #pragma once
33 
34 #include <ogdf/basic/Module.h>
36 
37 namespace ogdf {
38 
43 class OGDF_EXPORT FUPSModule : public Module {
44 public:
46  FUPSModule() { }
47 
48  // destruction
49  virtual ~FUPSModule() { }
50 
61  ReturnType call(UpwardPlanRep& UPR, List<edge>& delEdges) { return doCall(UPR, delEdges); }
62 
64  ReturnType operator()(UpwardPlanRep& UPR, List<edge>& delEdges) { return call(UPR, delEdges); }
65 
66 
67 protected:
78  virtual ReturnType doCall(UpwardPlanRep& UPR, List<edge>& delEdges) = 0;
79 
81 };
82 
83 }
ogdf
The namespace for all OGDF objects.
Definition: AugmentationModule.h:36
UpwardPlanRep.h
Declaration of a base class for planar representations of graphs and cluster graphs.
ogdf::FUPSModule::FUPSModule
FUPSModule()
Initializes a feasible upward planar subgraph module.
Definition: FUPSModule.h:46
ogdf::FUPSModule::~FUPSModule
virtual ~FUPSModule()
Definition: FUPSModule.h:49
OGDF_MALLOC_NEW_DELETE
#define OGDF_MALLOC_NEW_DELETE
Makes the class use malloc for memory allocation.
Definition: memory.h:91
ogdf::Module
Base class for modules.
Definition: Module.h:47
ogdf::FUPSModule::call
ReturnType call(UpwardPlanRep &UPR, List< edge > &delEdges)
Computes a feasible upward planar subgraph of the input graph.
Definition: FUPSModule.h:61
ogdf::List< edge >
ogdf::FUPSModule::operator()
ReturnType operator()(UpwardPlanRep &UPR, List< edge > &delEdges)
Computes a upward planarized representation of the input graph (shorthand for call)
Definition: FUPSModule.h:64
OGDF_EXPORT
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
Definition: config.h:101
ogdf::FUPSModule
Interface for feasible upward planar subgraph algorithms.
Definition: FUPSModule.h:43
ogdf::UpwardPlanRep
Upward planarized representations (of a connected component) of a graph.
Definition: UpwardPlanRep.h:50
Module.h
Declares base class for all module types.
ogdf::Module::ReturnType
ReturnType
The return type of a module.
Definition: Module.h:50