Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

PlanarizerChordlessCycle.h
Go to the documentation of this file.
1 
32 #pragma once
33 
36 
37 namespace ogdf {
38 
53 protected:
55 
58  virtual ReturnType doCall(PlanRep& pr, int cc, const EdgeArray<int>* pCostOrig,
59  const EdgeArray<bool>* pForbiddenOrig, const EdgeArray<uint32_t>* pEdgeSubGraphs,
60  int& crossingNumber) override;
61 
62 public:
65 
68 
70  virtual CrossingMinimizationModule* clone() const override;
71 
73  PlanarizerChordlessCycle& operator=(const PlanarizerChordlessCycle& planarizer);
74 
75 private:
81  bool findChordlessCycle(const Graph& G, List<node>& cycle);
82 
95  void transferToPlanRep(PlanRep& pr, const GraphCopy& graphCopy, const GraphCopy& copyCopy);
96 
110  void addToGraphCopy(GraphCopy& graphCopy, GraphCopy& copyCopy, DynamicDualGraph& dual,
111  node vOrig, const EdgeArray<int>* pCostOrig, EdgeArray<int>* pCostCopy);
112 
115 };
116 
117 }
ogdf
The namespace for all OGDF objects.
Definition: AugmentationModule.h:36
ogdf::PlanRep
Planarized representations (of a connected component) of a graph.
Definition: PlanRep.h:57
ogdf::CrossingMinimizationModule
Base class for crossing minimization algorithms.
Definition: CrossingMinimizationModule.h:41
ogdf::DualGraphBase
A dual graph including its combinatorial embedding of an embedded graph.
Definition: DualGraph.h:42
CrossingMinimizationModule.h
Declaration of CrossingMinimization Module, an interface for crossing minimization algorithms.
ogdf::GraphCopy
Copies of graphs supporting edge splitting.
Definition: GraphCopy.h:384
ogdf::PlanarizerChordlessCycle::m_inserter
StarInserter m_inserter
The StarInserter used to insert new nodes into the planarization.
Definition: PlanarizerChordlessCycle.h:114
ogdf::StarInserter
Definition: StarInserter.h:230
ogdf::List
Doubly linked lists (maintaining the length of the list).
Definition: List.h:42
ogdf::Graph
Data type for general directed graphs (adjacency list representation).
Definition: Graph_d.h:862
OGDF_EXPORT
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
Definition: config.h:101
StarInserter.h
Declaration of class StarInserter.
ogdf::Module::ReturnType
ReturnType
The return type of a module.
Definition: Module.h:50
ogdf::PlanarizerChordlessCycle
Definition: PlanarizerChordlessCycle.h:52
ogdf::NodeElement
Class for the representation of nodes.
Definition: Graph_d.h:233
ogdf::internal::EdgeArrayBase2
RegisteredArray for edges of a graph, specialized for EdgeArray<edge>.
Definition: Graph_d.h:709