Open
Graph Drawing
Framework

 v. 2020.02 (Catalpa)
 

PlanarSubgraphEmpty.h
Go to the documentation of this file.
1 
33 #pragma once
34 
36 
37 namespace ogdf {
38 
40 
43 template<typename TCost>
45 public:
46  virtual PlanarSubgraphEmpty *clone() const override{
47  return new PlanarSubgraphEmpty();
48  }
49 
51  const Graph &graph,
52  const List<edge> &preferredEdges,
53  List<edge> &delEdges,
54  const EdgeArray<TCost> *pCost,
55  bool preferedImplyPlanar) override{
56  graph.allEdges(delEdges);
58  }
59 };
60 }
Data type for general directed graphs (adjacency list representation).
Definition: Graph_d.h:492
ReturnType
The return type of a module.
Definition: Module.h:51
virtual Module::ReturnType doCall(const Graph &graph, const List< edge > &preferredEdges, List< edge > &delEdges, const EdgeArray< TCost > *pCost, bool preferedImplyPlanar) override
Computes the set of edges delEdges which have to be deleted to obtain the planar subgraph.
Interface for planar subgraph algorithms.
The solution is feasible.
virtual PlanarSubgraphEmpty * clone() const override
Returns a new instance of the planar subgraph module with the same option settings.
The namespace for all OGDF objects.
void allEdges(CONTAINER &edgeContainer) const
Returns a container with all edges of the graph.
Definition: Graph_d.h:661
Declaration of interface for planar subgraph algorithms.
Dummy implementation for maximum planar subgraph that returns an empty graph.