#include <ogdf/graphalg/MinSTCutModule.h>
Definition at line 40 of file MinSTCutModule.h.
◆ MinSTCutModule()
◆ ~MinSTCutModule()
◆ call() [1/2]
The actual algorithm call.
- Parameters
-
graph | The graph on which the min-st-cut is to be calculated. |
weight | Provides a weight for every edge. |
s | The source node. |
t | The target node. |
edgeList | This list is filled with the edges which are part of the mincut. If the graph is st-planarly embedded, this list is correctly ordered along the cut. |
e_st | An edge between s and t which is used to determine where the cut should start, nullptr elsewise. |
- Returns
- Indicates success.
Implemented in ogdf::MinSTCutBFS< TCost >, ogdf::MinSTCutDijkstra< TCost >, and ogdf::MinSTCutMaxFlow< TCost >.
◆ call() [2/2]
The actual algorithm call.
- Parameters
-
graph | The graph on which the min-st-cut is to be calculated. |
s | The source node. |
t | The target node. |
edgeList | This list is filled with the edges which are part of the mincut. If the graph is st-planarly embedded, this list is correctly ordered along the cut. |
e_st | An edge between s and t which is used to determine where the cut should start, nullptr elsewise. |
- Returns
- Indicates success.
Implemented in ogdf::MinSTCutBFS< TCost >, ogdf::MinSTCutDijkstra< TCost >, and ogdf::MinSTCutMaxFlow< TCost >.
◆ direction()
Returns the direction of e
in the cut.
- Precondition
e
is part of the cut calculated last.
- Parameters
-
e | An edge in the graph for which the min-st-cut was calculated last. |
- Returns
- true, iff the source of
e
is in one component with s, if all edges of the cut are deleted.
Definition at line 87 of file MinSTCutModule.h.
◆ preprocessingDual()
This method preprocesses gc
for minstcut calculations, by adding an st-edge if needed and embedding gc
.
- Parameters
-
graph | The original graph of gc . |
gc | The input graph. |
CE | Holds the embedding of gc . |
source | s |
target | t |
e_st | If not nullptr, this edge is meant to split the external face of the embedded gc . |
- Returns
Definition at line 108 of file MinSTCutModule.h.
◆ m_direction
◆ m_gc
The documentation for this class was generated from the following file: