|
Open Graph Drawing Framework |
v. 2023.09 (Elderberry)
|
|
|
Go to the documentation of this file.
44 template<
typename TCost>
81 edge e_st =
nullptr) = 0;
118 bool isSTplanarEmbeded(
false);
122 isSTplanarEmbeded = (adjS !=
nullptr);
124 if (isSTplanarEmbeded) {
125 if (e_st ==
nullptr) {
129 if (e_st ==
nullptr) {
The namespace for all OGDF objects.
Includes declaration of graph class.
#define OGDF_ASSERT(expr)
Assert condition expr. See doc/build.md for more information.
adjEntry findCommonFace(const node v, const node w, bool left=true) const
Identifies a common face of two nodes and returns the respective adjacency entry.
virtual bool direction(edge e)
Returns the direction of e in the cut.
bool preprocessingDual(const Graph &graph, GraphCopy &gc, CombinatorialEmbedding &CE, node source, node target, edge e_st)
This method preprocesses gc for minstcut calculations, by adding an st-edge if needed and embedding g...
Declaration of extended graph algorithms.
Copies of graphs supporting edge splitting.
edge splitFace(adjEntry adjSrc, adjEntry adjTgt, bool sourceAfter=false)
Splits a face by inserting a new edge.
bool planarSTEmbed(Graph &graph, node s, node t)
s-t-planarly embeds a graph.
edge newEdge(edge eOrig)
Creates a new edge (v,w) with original edge eOrig.
Class for adjacency list elements.
virtual bool call(const Graph &graph, const EdgeArray< TCost > &weight, node s, node t, List< edge > &edgeList, edge e_st=nullptr)=0
The actual algorithm call.
int numberOfEdges() const
Returns the number of edges in the graph.
EdgeArray< int > m_direction
void init(Graph &G)
Initializes the embedding for graph G.
virtual ~MinSTCutModule()
Declaration of graph copy classes.
Data type for general directed graphs (adjacency list representation).
edge copy(edge e) const override
Returns the first edge in the list of edges corresponding to edge e.
bool representsCombEmbedding() const
Returns true iff the graph represents a combinatorial embedding.
Basic declarations, included by all source files.
Declaration of CombinatorialEmbedding and face.
Combinatorial embeddings of planar graphs with modification functionality.
Class for the representation of edges.
Class for the representation of nodes.
MinSTCutModule()
default constructor (empty)
RegisteredArray for edges of a graph, specialized for EdgeArray<edge>.