89 int runs() {
return m_runs; }
91 void runs(
int n) { m_runs = n; }
Declaration of interface for acyclic subgraph algorithms.
Declaration of class BCTree.
Declaration of Feasible Upward Planar Subgraph (FUPS) Module, an interface for subgraph computation.
Declaration of the FUPSSimple.
declaration of class FixedEmbeddingInserterOld
Declaration of class GeedyCycleRemoval.
Declaration of interface for edge insertion algorithms.
Declaration of a base class for planar representations of graphs and cluster graphs.
Declaration of UpwardPlanarizer Module, an interface for upward planarization algorithms.
Base class of algorithms for computing a maximal acyclic subgraph.
Dynamic arrays indexed with edges.
Interface for feasible upward planar subgraph algorithms.
Edge insertion module that inserts each edge optimally into a fixed embedding.
Copies of graphs supporting edge splitting.
Greedy algorithm for computing a maximal acyclic subgraph.
ReturnType
The return type of a module.
Dynamic arrays indexed with nodes.
Class for the representation of nodes.
Takes an acyclic connected non-upward-planar graph and planarizes it, i.e., we obtain an upward-plana...
void setInserter(UpwardEdgeInserterModule *pInserter)
Sets the module option for the edge insertion module.
SubgraphUpwardPlanarizer()
Creates an instance of subgraph planarizer.
std::unique_ptr< FUPSModule > m_subgraph
The upward planar subgraph algorithm.
std::unique_ptr< UpwardEdgeInserterModule > m_inserter
The edge insertion module.
void setSubgraph(FUPSModule *FUPS)
Sets the module option for the computation of the feasible upward planar subgraph.
std::unique_ptr< AcyclicSubgraphModule > m_acyclicMod
The acyclic subgraph module.
void dfsMerge(const GraphCopy &GC, BCTree &BC, NodeArray< GraphCopy > &biComps, NodeArray< UpwardPlanRep > &uprs, UpwardPlanRep &UPR_res, node parent_BC, node current_BC, NodeArray< bool > &nodesDone)
traversion the BTree and merge the component to a common graph
void merge(const GraphCopy &GC, UpwardPlanRep &UPR_res, const GraphCopy &block, UpwardPlanRep &UPR)
add UPR to UPR_res.
void setAcyclicSubgraphModule(AcyclicSubgraphModule *acyclicMod)
Sets the module option for acyclic subgraph module.
void constructComponentGraphs(BCTree &BC, NodeArray< GraphCopy > &biComps)
virtual ReturnType doCall(UpwardPlanRep &UPR, const EdgeArray< int > &cost, const EdgeArray< bool > &forbid) override
Computes an upward planarized representation of the input graph.
Upward planarized representations (of a connected component) of a graph.
Interface for upward planarization algorithms.
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
static MultilevelBuilder * getDoubleFactoredZeroAdjustedMerger()
The namespace for all OGDF objects.