58 void runs(
int nRuns) { m_nRuns = nRuns; }
61 int runs()
const {
return m_nRuns; }
Declaration of CombinatorialEmbedding and face.
Declaration of Feasible Upward Planar Subgraph (FUPS) Module, an interface for subgraph computation.
Includes declaration of graph class.
Decralation of GraphElement and GraphList classes.
Declares base class for all module types.
Basic declarations, included by all source files.
Class for adjacency list elements.
Combinatorial embeddings of planar graphs with modification functionality.
face rightFace(adjEntry adj) const
Returns the face to the right of adj, i.e., the face containing adj.
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.
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.
RegisteredArray for edges of a graph, specialized for EdgeArray<edge>.
RegisteredArray for nodes, edges and adjEntries of a graph.
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF dynamic library (shared object / DLL),...
#define OGDF_ASSERT(expr)
Assert condition expr. See doc/build.md for more information.
The namespace for all OGDF objects.