83 int& crossingNumber)
override;
94 HigherNonPlanarDegree,
Declaration of CrossingMinimization Module, an interface for crossing minimization algorithms.
Includes declaration of graph class.
Declaration of interface for planar subgraph algorithms.
Basic declarations, included by all source files.
Base class for crossing minimization algorithms.
ReturnType
The return type of a module.
Planarized representations (of a connected component) of a graph.
Interface for planar subgraph algorithms.
Computes a planar subgraph of the graph and then re-inserts each original node that is incident to at...
NodeSelectionMethod nodeSelectionMethod()
Returns the used method of selecting nodes to reinsert.
void nodeSelectionMethod(NodeSelectionMethod method)
Sets the used method of selecting nodes to reinsert.
void setSubgraph(PlanarSubgraphModule< int > *pSubgraph)
Sets the module option for the computation of the planar subgraph.
PlanarizerMixedInsertion & operator=(const PlanarizerMixedInsertion &planarizer)
Assignment operator, copies option settings only.
PlanarizerMixedInsertion(const PlanarizerMixedInsertion &planarizer)
Creates a PlanarizerMixedInsertion with the same settings as planarizer.
virtual CrossingMinimizationModule * clone() const override
Returns a new PlanarizerMixedInsertion with the same option settings.
PlanarizerMixedInsertion()
Creates a PlanarizerMixedInsertion with default settings.
std::unique_ptr< PlanarSubgraphModule< int > > m_subgraph
< The planar subgraph algorithm.
NodeSelectionMethod
Determines the node(s) of each deleted edge e which will be reinserted if neither of them is a cut ve...
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.
NodeSelectionMethod m_nodeSelectionMethod
RegisteredArray for edges of a graph, specialized for EdgeArray<edge>.
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF dynamic library (shared object / DLL),...
The namespace for all OGDF objects.