70 m_rrOptionFix = rrOption;
80 m_rrOptionVar = rrOption;
94 m_percentMostCrossedFix = percent;
99 return m_percentMostCrossedFix;
108 m_percentMostCrossedVar = percent;
113 return m_percentMostCrossedVar;
134 return PathDir::Right;
136 return PathDir::Left;
146 class EmbeddingPreference;
163 MultiEdgeApproxInserter::Block *constructBlock(
int i);
167 int computePathSPQR(
int b,
node v,
node w,
int k);
169 bool dfsPathVertex(
node v,
int parent,
int k,
node t);
170 bool dfsPathBlock(
int b,
node parent,
int k,
node t);
171 void computePathBC(
int k);
173 void embedBlock(
int b,
int m);
204 int findShortestPath(
node s,
node t);
RemoveReinsertType m_rrOptionVar
The remove-reinsert method for variable embedding.
double percentMostCrossedVar() const
Returns the current setting of option percentMostCrossed (variable embedding).
void removeReinsertFix(RemoveReinsertType rrOption)
Sets the remove-reinsert postprocessing method.
The parameterized class Array implements dynamic arrays of type E.
Data type for general directed graphs (adjacency list representation).
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
int sumInsertionCosts() const
Declaration of interface for edge insertion algorithms.
Array< int > m_insertionCosts
Combinatorial embeddings of planar graphs.
RemoveReinsertType
The postprocessing method for edge insertion algorithms.
void percentMostCrossedFix(double percent)
Sets the option percentMostCrossed to percent.
double m_percentMostCrossedVar
The portion of most crossed edges considered (variable embedding).
Interface for edge insertion algorithms.
const Array< edge > * m_edge
Dynamic arrays indexed with adjacency entries.
declaration and implementation of FaceArray class
Definition of RemoveReinsertType (used for postprocessing in edge insertion algorithms).
ReturnType
The return type of a module.
Array< List< VertexBlock > > m_pathBCs
Light-weight version of a planarized representation, associated with a PlanRep.
Declaration of class StaticPlanarSPQRTree.
RemoveReinsertType removeReinsertVar() const
Returns the current setting of the remove-reinsert postprocessing method.
AdjEntryArray< adjEntry > m_primalAdj
double m_percentMostCrossedFix
The portion of most crossed edges considered (fixed embedding).
~MultiEdgeApproxInserter()
Destructor.
int m_sumFEInsertionCosts
Dynamic arrays indexed with faces of a combinatorial embedding.
Dynamic arrays indexed with nodes.
double percentMostCrossedFix() const
Returns the current setting of option percentMostCrossed.
void percentMostCrossedVar(double percent)
Sets the option percentMostCrossedVar to percent.
Array< SList< edge > > m_edgesB
const EdgeArray< int > * m_costOrig
NodeArray< SList< int > > m_compV
static void copy(const T &from, T &to)
int sumFEInsertionCosts() const
Class representing idea of Blocks used in GlobalSifting and GridSifting algorithms.
Class for the representation of edges.
RemoveReinsertType removeReinsertFix() const
Returns the current setting of the remove-reinsert postprocessing method.
Class for the representation of nodes.
FaceArray< node > m_faceNode
NodeArray< node > m_GtoBC
ConstCombinatorialEmbedding m_E
Two geometric objects do not intersect.
Multi edge inserter with approximation guarantee.
The namespace for all OGDF objects.
Array< SList< node > > m_verticesB
static PathDir oppDir(PathDir dir)
Returns the opposite direction of dir.
VertexBlock(node v, int b)
SPQR-trees of planar graphs.
void removeReinsertVar(RemoveReinsertType rrOption)
Sets the remove-reinsert postprocessing method.
RemoveReinsertType m_rrOptionFix
The remove-reinsert method for fixed embedding.
Class for adjacency list elements.
NodeArray< SList< VertexBlock > > m_copyInBlocks