#include <ogdf/upward/UpwardEdgeInserterModule.h>
Definition at line 44 of file UpwardEdgeInserterModule.h.
◆ UpwardEdgeInserterModule()
ogdf::UpwardEdgeInserterModule::UpwardEdgeInserterModule |
( |
| ) |
|
|
inline |
◆ ~UpwardEdgeInserterModule()
virtual ogdf::UpwardEdgeInserterModule::~UpwardEdgeInserterModule |
( |
| ) |
|
|
inlinevirtual |
◆ call() [1/4]
Inserts all edges in origEdges
with given forbidden edges into UPR
.
- Precondition
- No forbidden edge may be in
origEdges
.
- Parameters
-
UPR | is the input upward planarized representation of a FUPS and will also receive the result. |
forbidOriginal | points to an edge array indicating if an original edge is forbidden to be crossed. |
origEdges | is the list of original edges (edges in the original graph of UPR ) that have to be inserted. |
- Returns
- the status of the result.
Definition at line 106 of file UpwardEdgeInserterModule.h.
◆ call() [2/4]
Inserts all edges in origEdges
with given forbidden edges into UPR
.
- Parameters
-
UPR | is the input upward planarized representation of a FUPS and will also receive the result. |
costOrig | points to an edge array containing the costs of original edges; edges in UPR without an original edge have zero costs. |
forbidOriginal | points to an edge array indicating if an original edge is forbidden to be crossed. |
origEdges | is the list of original edges (edges in the original graph of UPR ) that have to be inserted. |
Definition at line 89 of file UpwardEdgeInserterModule.h.
◆ call() [3/4]
Inserts all edges in origEdges
with given costs into UPR
.
- Parameters
-
UPR | is the input upward planarized representation of a FUPS and will also receive the result. |
costOrig | points to an edge array containing the costs of original edges; edges in UPR without an original edge have zero costs. |
origEdges | is the list of original edges (edges in the original graph of UPR ) that have to be inserted. |
- Returns
- the status of the result.
Definition at line 74 of file UpwardEdgeInserterModule.h.
◆ call() [4/4]
Inserts all edges in origEdges
into UPR
.
- Parameters
-
UPR | is the input upward planarized representation of a FUPS and will also receive the result. |
origEdges | is the list of original edges (edges in the original graph of UPR ) that have to be inserted. |
- Returns
- the status of the result.
Definition at line 60 of file UpwardEdgeInserterModule.h.
◆ doCall()
Actual algorithm call that has to be implemented by derived classes.
- Parameters
-
UPR | is the input upward planarized representation of a FUPS and will also receive the result. |
origEdges | is the list of original edges (edges in the original graph of UPR ) that have to be inserted. |
costOrig | points to an edge array containing the costs of original edges; edges in UPR without an original edge have zero costs. |
forbiddenEdgeOrig | points to an edge array indicating if an original edge is forbidden to be crossed. |
Implemented in ogdf::FixedEmbeddingUpwardEdgeInserter.
The documentation for this class was generated from the following file: