Open
Graph Drawing
Framework

 v. 2020.02 (Catalpa)
 

VariableEmbeddingInserter.h
Go to the documentation of this file.
1 
32 #pragma once
33 
36 
37 
38 namespace ogdf {
39 
41 
53 {
54 public:
56 
58  virtual EdgeInsertionModule *clone() const override;
59 
61 
67  return doCallPostprocessing(pr, origEdges, nullptr, nullptr, nullptr);
68  }
69 
70 private:
72  virtual ReturnType doCall(
73  PlanRepLight &PG,
74  const Array<edge> &origEdges,
75  const EdgeArray<int> *pCostOrig,
76  const EdgeArray<bool> *pForbiddenOrig,
77  const EdgeArray<uint32_t> *pEdgeSubgraph) override;
78 
79  ReturnType doCallPostprocessing(
80  PlanRepLight &pr,
81  const Array<edge> &origEdges,
82  const EdgeArray<int> *pCostOrig,
83  const EdgeArray<bool> *pForbiddenOrig,
84  const EdgeArray<uint32_t> *pEdgeSubgraphs);
85 };
86 
87 }
Declaration of class VariablEmbeddingInserterBase.
The parameterized class Array implements dynamic arrays of type E.
Definition: Array.h:200
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
Definition: config.h:99
Interface for edge insertion algorithms.
VariableEmbeddingInserterBase()
Creates an instance of variable embedding edge inserter with default settings.
Definition of RemoveReinsertType (used for postprocessing in edge insertion algorithms).
Common parameter functionality for ogdf::VariableEmbeddingInserter and ogdf::VariableEmbeddingInserte...
ReturnType
The return type of a module.
Definition: Module.h:51
Light-weight version of a planarized representation, associated with a PlanRep.
Definition: PlanRepLight.h:44
Optimal edge insertion module.
Module::ReturnType callPostprocessing(PlanRepLight &pr, const Array< edge > &origEdges)
Calls only the postprocessing; assumes that all edges in origEdges are already inserted into pr...
The namespace for all OGDF objects.