53 int runs()
const {
return m_nRuns; }
59 if (
Gamma.rightFace(adj) ==
f) {
Declaration of Feasible Upward Planar Subgraph (FUPS) Module, an interface for subgraph computation.
Class for adjacency list elements.
Combinatorial embeddings of planar graphs with modification functionality.
Dynamic arrays indexed with edges.
Class for the representation of edges.
Interface for feasible upward planar subgraph algorithms.
virtual Module::ReturnType doCall(UpwardPlanRep &UPR, List< edge > &delEdges) override
Computes a feasible upward planar subgraph of the input graph.
bool constructMergeGraph(GraphCopy &M, adjEntry adj_orig, const List< edge > &del_orig)
void computeFUPS(UpwardPlanRep &UPR, List< edge > &delEdges)
adjEntry getAdjEntry(const CombinatorialEmbedding &Gamma, node v, face f)
return a adjEntry of node v which right face is f. Be Carefully! The adjEntry is not always unique.
void dfs_visit(const Graph &G, edge e, NodeArray< bool > &visited, EdgeArray< bool > &treeEdges, bool random)
int runs() const
Returns the current number of randomized runs.
FUPSSimple()
Creates an instance of feasible subgraph algorithm.
void runs(int nRuns)
Sets the number of randomized runs to nRuns.
void getSpanTree(GraphCopy &GC, List< edge > &delEdges, bool random)
Compute a (random) span tree of the input sT-Graph.
int m_nRuns
The number of runs for randomization.
Faces in a combinatorial embedding.
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.
Dynamic arrays indexed with nodes.
Class for the representation of nodes.
internal::GraphObjectContainer< AdjElement > adjEntries
The container containing all entries in the adjacency list of this node.
Upward planarized representations (of a connected component) of a graph.
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
#define OGDF_ASSERT(expr)
Assert condition expr. See doc/build.md for more information.
static MultilevelBuilder * getDoubleFactoredZeroAdjustedMerger()
The namespace for all OGDF objects.