Open
Graph Drawing
Framework

 v. snapshot-2017-02-16
 

UpwardPlanarSubgraphModule.h
Go to the documentation of this file.
1 
33 #pragma once
34 
35 #include <ogdf/basic/GraphCopy.h>
36 
37 
38 namespace ogdf {
39 
44 public:
47 
48  // destruction
50 
59  virtual void call(const Graph &G, List<edge> &delEdges) = 0;
60 
61 
63  void operator()(const Graph &G, List<edge> &delEdges) {
64  call(G,delEdges);
65  }
66 
67 
74  void callAndDelete(GraphCopy &GC, List<edge> &delOrigEdges);
75 
76 
77 
79 }; // class UpwardPlanarSubgraph
80 
81 
82 
83 } // end namespace ogdf
Data type for general directed graphs (adjacency list representation).
Definition: Graph_d.h:472
#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
UpwardPlanarSubgraphModule()
Initializes an upward planar subgraph module.
Declaration of graph copy classes.
Copies of graphs supporting edge splitting.
Definition: GraphCopy.h:250
Interface for algorithms for computing an upward planar subgraph.
void operator()(const Graph &G, List< edge > &delEdges)
Computes set of edges delEdges which have to be deleted to obtain the upward planar subgraph...
The namespace for all OGDF objects.