48template<
bool EnableLayers,
bool IsEmbedderMinDepth = false>
66 BicompEmbedder::embed(G, m_adjExternal, m_nodeLength, m_edgeLength);
68 return m_adjExternal->twin();
74 node result =
nullptr;
86 if (v->outdeg() == 0) {
Declaration of class BCTree.
Declares ogdf::EmbedderMaxFaceBiconnectedGraphs.
Computes an embedding of a biconnected graph with maximum external face.
Defines ogdf::EmbedderModule.
Includes declaration of graph class.
Decralation of GraphElement and GraphList classes.
Basic declarations, included by all source files.
Class for adjacency list elements.
const Graph & bcTree() const
Returns the BC-tree graph.
Embedder that maximizing the external face.
Embedder that maximizes the external face (plus layers approach).
Base class for embedder algorithms.
Data type for general directed graphs (adjacency list representation).
int numberOfNodes() const
Returns the number of nodes in the graph.
internal::GraphObjectContainer< NodeElement > nodes
The container containing all node objects.
Class for the representation of nodes.
Common base for embedder algorithms based on BC trees.
BCTree * pBCTree
BC-tree of the original graph.
adjEntry * pAdjExternal
an adjacency entry on the external face
virtual adjEntry trivialInit(Graph &G)
Initialization code for biconnected input. Returns an adjacency entry that lies on the external face.
node initBCTree(Graph &G)
Initializes pBCTree and returns the root node of this tree or nullptr if G is biconnected.
typename std::conditional< EnableLayers, EmbedderMaxFaceBiconnectedGraphsLayers< int >, EmbedderMaxFaceBiconnectedGraphs< int > >::type BicompEmbedder
RegisteredArray for edges of a graph, specialized for EdgeArray<edge>.
RegisteredArray for nodes, edges and adjEntries of a graph.
#define OGDF_ASSERT(expr)
Assert condition expr. See doc/build.md for more information.
The namespace for all OGDF objects.