Declaration of CrossingMinimization Module, an interface for crossing minimization algorithms.
Declaration of class StarInserter.
Base class for crossing minimization algorithms.
A dual graph including its combinatorial embedding of an embedded graph.
Dynamic arrays indexed with edges.
Copies of graphs supporting edge splitting.
Data type for general directed graphs (adjacency list representation).
Doubly linked lists (maintaining the length of the list).
ReturnType
The return type of a module.
Class for the representation of nodes.
Planarized representations (of a connected component) of a graph.
Starts with a chordless cycle of the graph and then inserts each original node that is adjacent to al...
PlanarizerChordlessCycle(const PlanarizerChordlessCycle &planarizer)
Creates a PlanarizerChordlessCycle with the same settings as planarizer.
virtual ReturnType doCall(PlanRep &pr, int cc, const EdgeArray< int > *pCostOrig, const EdgeArray< bool > *pForbiddenOrig, const EdgeArray< uint32_t > *pEdgeSubGraphs, int &crossingNumber) override
Implements the algorithm call.
virtual CrossingMinimizationModule * clone() const override
Returns a new PlanarizerChordlessCycle with the same option settings.
PlanarizerChordlessCycle & operator=(const PlanarizerChordlessCycle &planarizer)
Assignment operator, copies option settings only.
PlanarizerChordlessCycle()
Creates a PlanarizerChordlessCycle with default settings.
void transferToPlanRep(PlanRep &pr, const GraphCopy &graphCopy, const GraphCopy ©Copy)
Creates crossings in pr that resemble the crossings in copyCopy.
void addToGraphCopy(GraphCopy &graphCopy, GraphCopy ©Copy, DynamicDualGraph &dual, node vOrig, const EdgeArray< int > *pCostOrig, EdgeArray< int > *pCostCopy)
Creates a copy of vOrig in graphCopy and optimally inserts a copy of this copy in the planarization c...
bool findChordlessCycle(const Graph &G, List< node > &cycle)
StarInserter m_inserter
The StarInserter used to insert new nodes into the planarization.
Inserts a star (a vertex and its incident edges) optimally into an embedding.
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
static MultilevelBuilder * getDoubleFactoredZeroAdjustedMerger()
The namespace for all OGDF objects.