65 m_rrOption = rrOption;
81 m_percentMostCrossed = percent;
86 return m_percentMostCrossed;
130 void findShortestPath(
138 void prepareAnchorNode(
144 void preprocessInsertionPath(
234 void contractSplitIfReq(
259 void collectAnchorNodes(
286 void findSourcesAndTargets(
313 if(forbiddenEdgeOrig ==
nullptr)
319 if(m_primalNode[e->
source()] !=
nullptr)
321 if(m_primalNode[e->
target()] !=
nullptr)
325 if(adj ==
nullptr)
return false;
328 if(eOrig !=
nullptr) {
330 if((*forbiddenEdgeOrig)[eOrig] ==
true)
331 cout <<
"forbidden: " << eOrig <<
", dual: " << e << endl;
333 return (*forbiddenEdgeOrig)[eOrig];
node target() const
Returns the target node of the edge.
Representation of a node split in a planarized expansion.
FaceArray< node > m_dualOfFace
The node in dual corresponding to face in primal.
NodeSetPure * m_mergedNodes
edge theEdge() const
Returns the edge associated with this adjacency entry.
Postprocessing for (so far) inserted edges after each edge insertion.
void removeReinsert(RemoveReinsertType rrOption)
Sets the remove-reinsert option for postprocessing.
Data type for general directed graphs (adjacency list representation).
FaceSetSimple * m_delFaces
NodeArray< node > m_primalNode
The node in PG corresponding to dual node (0 if face).
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
AdjEntryArray< edge > m_dualEdge
The dual edge corresponding to crossing the adjacency entry.
Planarized representations (of a connected component) of a graph.
EdgeArray< adjEntry > m_primalAdj
The adjacency entry in primal graph corresponding to edge in dual.
RemoveReinsertType
The postprocessing method for edge insertion algorithms.
Dynamic arrays indexed with adjacency entries.
declaration and implementation of FaceArray class
Declaration of CombinatorialEmbedding and face.
Definition of RemoveReinsertType (used for postprocessing in edge insertion algorithms).
void percentMostCrossed(double percent)
Sets the portion of most crossed edges used during postprocessing.
double percentMostCrossed() const
Returns the current setting of the option percentMostCrossed.
ReturnType
The return type of a module.
node m_vT
Represents the end node for the path search.
Dynamic arrays indexed with faces of a combinatorial embedding.
Dynamic arrays indexed with nodes.
Interface for minor-monotone edge insertion algorithms.
Tuples of two elements (2-tuples).
node m_vS
Represents the start node for the path search.
EdgeArray< int > m_dualCost
The cost of an edge in the seach network.
NodeArray< node > m_dualOfNode
The node in dual corresponding to node in primal.
Class for the representation of edges.
int m_maxCost
The maximal cost of an edge in the search network + 1.
Class for the representation of nodes.
bool origOfDualForbidden(edge e, const PlanRepExpansion &PG, const EdgeArray< bool > *forbiddenEdgeOrig) const
Declaration and implementation of class Tuple2, Tuple3 and Tuple4.
Minor-monotone edge insertion with fixed embedding.
edge originalEdge(edge e) const
Returns the original edge of e, or 0 if e has none (e.g., e belongs to a node split).
Graph m_dual
The search network (extended dual graph).
double m_percentMostCrossed
The percentMostCrossed option.
RemoveReinsertType removeReinsert() const
Returns the current setting of the remove-reinsert option.
node source() const
Returns the source node of the edge.
The namespace for all OGDF objects.
RemoveReinsertType m_rrOption
The remove-reinsert option.
virtual ~MMFixedEmbeddingInserter()
Declaration and implementation of class NodeSetSimple, NodeSetPure and NodeSet.
Combinatorial embeddings of planar graphs with modification functionality.
Class for adjacency list elements.
declaration and implementation of class FaceSetSimple, FaceSetPure and FaceSet
#define OGDF_ASSERT(expr)
Assert condition expr. See doc/build.md for more information.
Declaration of interface for minor-monotone edge insertion algorithms.