43 template<
bool EnableLayers>
59 BicompEmbedder::embed(G, m_adjExternal, m_nodeLength, m_edgeLength);
61 return m_adjExternal->
twin();
67 node result =
nullptr;
74 *pAdjExternal = trivialInit(G);
79 if (v->outdeg() == 0) {
Data type for general directed graphs (adjacency list representation).
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
Defines ogdf::EmbedderModule.
Declaration of class BCTree.
virtual adjEntry trivialInit(Graph &G)
Initialization code for biconnected input. Returns an adjacency entry that lies on the external face...
typename std::conditional< EnableLayers, EmbedderMaxFaceBiconnectedGraphsLayers< int >, EmbedderMaxFaceBiconnectedGraphs< int > >::type BicompEmbedder
adjEntry twin() const
Returns the corresponding adjacency element associated with the same edge.
Class for the representation of nodes.
node initBCTree(Graph &G)
Initializes pBCTree and returns the root node of this tree or nullptr if G is biconnected.
Declares ogdf::EmbedderMaxFaceBiconnectedGraphs.
Computes an embedding of a biconnected graph with maximum external face.
Common base for embedder algorithms based on BC trees.
Embedder that maximizing the external face.
The namespace for all OGDF objects.
Base class for embedder algorithms.
int numberOfNodes() const
Returns the number of nodes in the graph.
internal::GraphObjectContainer< NodeElement > nodes
The container containing all node objects.
Class for adjacency list elements.
const Graph & bcTree() const
Returns the BC-tree graph.
#define OGDF_ASSERT(expr)
Assert condition expr. See doc/build.md for more information.