#include <ogdf/graphalg/MinSTCutModule.h>
template<typename TCost>
class ogdf::MinSTCutModule< TCost >
Definition at line 45 of file MinSTCutModule.h.
◆ MinSTCutModule()
template<typename TCost >
◆ ~MinSTCutModule()
template<typename TCost >
◆ call() [1/2]
template<typename TCost >
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]
template<typename TCost >
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()
template<typename TCost >
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 92 of file MinSTCutModule.h.
◆ preprocessingDual()
template<typename TCost >
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 113 of file MinSTCutModule.h.
◆ m_direction
template<typename TCost >
◆ m_gc
template<typename TCost >
The documentation for this class was generated from the following file: