|
Open Graph Drawing Framework |
v. 2023.09 (Elderberry)
|
|
|
Go to the documentation of this file.
40 namespace fast_multipole_embedder {
123 if (a < 0)
return 64;
The namespace for all OGDF objects.
LinearQuadtree::PointID n
void setNumberOfPoints(NodeID nodeID, uint32_t numPoints)
sets the number of nodes containted in node nodeID
void restoreChain(LinearQuadtree::NodeID curr)
Declaration of class LinearQuadtree.
void prepareNodeAndLeaf(LinearQuadtree::PointID leafPos, LinearQuadtree::PointID nextLeafPos)
prepares the node and leaf layer at position leafPos where nextLeafPos is the next position
HypergraphRegistry< HypernodeElement >::iterator begin(const HypergraphRegistry< HypernodeElement > &self)
the builder for the LinearQuadtree
uint32_t numberOfPoints(NodeID nodeID) const
returns the number of points contained in the subtree of node nodeID
void prepareTree()
prepares the node and leaf layer for the complete tree from 0 to n (excluding n)
Definition of utility functions for FME layout.
void setFirstPoint(NodeID nodeID, PointID firstPoint)
PointID firstPoint(NodeID nodeID) const
NodeID child(NodeID nodeID, uint32_t i) const
returns the i th child index of node nodeID
void restorePushBackChain(LinearQuadtree::NodeID curr)
used by restore chain
void build()
the main build call
LinearQuadtree::NodeID firstLeaf
LinearQuadtree::NodeID lastInner
uint32_t CAL(LinearQuadtree::PointID a, LinearQuadtree::PointID b)
returns the level of the first common ancestor of a and b
void setNextNode(NodeID nodeID, NodeID next)
void mergeWithNext(LinearQuadtree::NodeID curr)
merges the node curr with curr's next node by appending the next nodes children to curr except the fi...
uint32_t mostSignificantBit(T n)
returns the index of the most signficant bit set. 0 = most signif, bitlength-1 = least signif
bool isLeaf(NodeID nodeID) const
returns true if the given node index is a leaf
LinearQuadtree::NodeID lastLeaf
HypergraphRegistry< HypernodeElement >::iterator end(const HypergraphRegistry< HypernodeElement > &self)
NodeID root() const
returns the index of the root
MortonNR mortonNr(PointID point) const
LinearQuadtree::NodeID restoreChainLastNode
LinearQuadtreeBuilder(LinearQuadtree &treeRef)
constructor
LinearQuadtree::NodeID firstInner
void buildHierarchy()
the main function for the new link-only recursive builder
uint32_t numberOfChilds(NodeID nodeID) const
returns the number of children of node nodeID. for an inner node this is 1..4 and can be accessed by ...