Interface for upward planarization algorithms.
More...
#include <ogdf/upward/UpwardPlanarizerModule.h>
Interface for upward planarization algorithms.
Definition at line 46 of file UpwardPlanarizerModule.h.
◆ UpwardPlanarizerModule()
ogdf::UpwardPlanarizerModule::UpwardPlanarizerModule |
( |
| ) |
|
|
inline |
◆ ~UpwardPlanarizerModule()
virtual ogdf::UpwardPlanarizerModule::~UpwardPlanarizerModule |
( |
| ) |
|
|
inlinevirtual |
◆ call()
Computes a upward planarized representation (UPR) of the input graph G.
- Parameters
-
UPR | represents the input graph as well as the computed upward planarized representation after the call. The original graph of UPR has to be the input graph G. Crossings are replaced by dummy vertices. The UPR is finaly augmented to a st-graph. Since this augmentation, crossings dummies may not got an in- and outdegree of 2! |
forbid | points to an edge array indicating which edges are not allowed to be crossed, i.e., (*forbid)[e] = true. If forbid = 0, no edges are forbidden. |
cost | points to an edge array that gives the cost of each edge. If cost = 0, all edges have cost 1. |
- Returns
- the status of the result.
Definition at line 72 of file UpwardPlanarizerModule.h.
◆ doCall()
Computes an upward planarized representation of the input graph.
- Parameters
-
UPR | represents the input graph as well as the computed upward planarized representation after the call. The original graph of UPR has to be the input graph G. Crossings are replaced by dummy vertices. The UPR is finaly augmented to a st-graph. Since this augmentation, crossings dummies may not got an in- and outdegree of 2! |
cost | points to an edge array that gives the cost of each edge. If cost = 0, all edges have cost 1. |
forbid | points to an edge array indicating which edges are not allowed to be crossed, i.e., (*forbid)[e] = true. If forbid = 0, no edges are forbidden. |
- Returns
- the status of the result.
Implemented in ogdf::SubgraphUpwardPlanarizer.
◆ operator()()
Computes a upward planarized representation of the input graph (shorthand for call)
Definition at line 97 of file UpwardPlanarizerModule.h.
◆ useCost()
bool ogdf::UpwardPlanarizerModule::useCost |
( |
| ) |
const |
|
inline |
◆ useForbid()
bool ogdf::UpwardPlanarizerModule::useForbid |
( |
| ) |
const |
|
inline |
◆ m_useCost
bool ogdf::UpwardPlanarizerModule::m_useCost |
|
private |
◆ m_useForbid
bool ogdf::UpwardPlanarizerModule::m_useForbid |
|
private |
The documentation for this class was generated from the following file: