Planarization approach for minor-monotone crossing minimization.
More...
#include <ogdf/planarity/MMSubgraphPlanarizer.h>
|
virtual ReturnType | doCall (PlanRepExpansion &PG, int cc, const EdgeArray< bool > *forbid, int &crossingNumber, int &numNS, int &numSN) override |
| Actual algorithm call that needs to be implemented by derived classed.
|
|
Planarization approach for minor-monotone crossing minimization.
Definition at line 50 of file MMSubgraphPlanarizer.h.
◆ MMSubgraphPlanarizer()
ogdf::MMSubgraphPlanarizer::MMSubgraphPlanarizer |
( |
| ) |
|
Creates a subgraph planarizer for minor-monotone crossing minimization.
◆ doCall()
Actual algorithm call that needs to be implemented by derived classed.
- Parameters
-
PG | represents the input graph as well as the computed planarized expansion after the call. PG is initialized as a PlanRepExpansion of the input graph and needs to be modified to obatain the planarized representation (crossings are replaced by dummy vertices with degree four). |
cc | is the number of the connected component in PG that is considered. |
forbid | points to an edge array indicating which edges are not allowed to be crossed, i.e., (*forbid)[e] = true. |
crossingNumber | needs to be assigned the number of crossings. |
numNS | needs to be assigned the required number of node splits. |
numSN | needs to be assigned the number of splitted nodes. |
- Returns
- the status of the result.
Implements ogdf::MMCrossingMinimizationModule.
◆ permutations() [1/2]
int ogdf::MMSubgraphPlanarizer::permutations |
( |
| ) |
|
|
inline |
Returns the number of performed permutations in the edge insertion step.
Definition at line 62 of file MMSubgraphPlanarizer.h.
◆ permutations() [2/2]
void ogdf::MMSubgraphPlanarizer::permutations |
( |
int |
p | ) |
|
|
inline |
Sets the number of performed permutations in the edge insertion step.
Definition at line 65 of file MMSubgraphPlanarizer.h.
◆ setInserter()
◆ setSubgraph()
Sets the module option for the computation of the planar subgraph.
Definition at line 56 of file MMSubgraphPlanarizer.h.
◆ m_inserter
◆ m_permutations
int ogdf::MMSubgraphPlanarizer::m_permutations |
|
private |
◆ m_subgraph
The documentation for this class was generated from the following file: