the builder for the LinearQuadtree More...
#include <ogdf/energybased/fast_multipole_embedder/LinearQuadtreeBuilder.h>
Public Member Functions | |
LinearQuadtreeBuilder (LinearQuadtree &treeRef) | |
constructor More... | |
void | build () |
the main build call More... | |
void | buildHierarchy () |
the main function for the new link-only recursive builder More... | |
LinearQuadtree::NodeID | buildHierarchy (LinearQuadtree::NodeID curr, uint32_t maxLevel) |
the new link-only recursive builder More... | |
uint32_t | CAL (LinearQuadtree::PointID a, LinearQuadtree::PointID b) |
returns the level of the first common ancestor of a and b More... | |
void | mergeWithNext (LinearQuadtree::NodeID curr) |
merges the node curr with curr's next node by appending the next nodes children to curr except the first one. More... | |
void | prepareNodeAndLeaf (LinearQuadtree::PointID leafPos, LinearQuadtree::PointID nextLeafPos) |
prepares the node and leaf layer at position leafPos where nextLeafPos is the next position More... | |
void | prepareTree () |
prepares the node and leaf layer for the complete tree from 0 to n (excluding n) More... | |
void | prepareTree (LinearQuadtree::PointID begin, LinearQuadtree::PointID end) |
prepares the node and leaf layer from position begin until end (excluding end) More... | |
void | restoreChain () |
void | restoreChain (LinearQuadtree::NodeID curr) |
void | restorePushBackChain (LinearQuadtree::NodeID curr) |
used by restore chain More... | |
the builder for the LinearQuadtree
Definition at line 43 of file LinearQuadtreeBuilder.h.
|
inlineexplicit |
constructor
Definition at line 46 of file LinearQuadtreeBuilder.h.
void ogdf::fast_multipole_embedder::LinearQuadtreeBuilder::build | ( | ) |
the main build call
void ogdf::fast_multipole_embedder::LinearQuadtreeBuilder::buildHierarchy | ( | ) |
the main function for the new link-only recursive builder
LinearQuadtree::NodeID ogdf::fast_multipole_embedder::LinearQuadtreeBuilder::buildHierarchy | ( | LinearQuadtree::NodeID | curr, |
uint32_t | maxLevel | ||
) |
the new link-only recursive builder
|
inline |
returns the level of the first common ancestor of a and b
Definition at line 119 of file LinearQuadtreeBuilder.h.
void ogdf::fast_multipole_embedder::LinearQuadtreeBuilder::mergeWithNext | ( | LinearQuadtree::NodeID | curr | ) |
merges the node curr with curr's next node by appending the next nodes children to curr except the first one.
void ogdf::fast_multipole_embedder::LinearQuadtreeBuilder::prepareNodeAndLeaf | ( | LinearQuadtree::PointID | leafPos, |
LinearQuadtree::PointID | nextLeafPos | ||
) |
prepares the node and leaf layer at position leafPos
where nextLeafPos
is the next position
void ogdf::fast_multipole_embedder::LinearQuadtreeBuilder::prepareTree | ( | ) |
prepares the node and leaf layer for the complete tree from 0 to n (excluding n)
void ogdf::fast_multipole_embedder::LinearQuadtreeBuilder::prepareTree | ( | LinearQuadtree::PointID | begin, |
LinearQuadtree::PointID | end | ||
) |
prepares the node and leaf layer from position begin until end (excluding end)
|
inline |
Definition at line 107 of file LinearQuadtreeBuilder.h.
|
inline |
Definition at line 90 of file LinearQuadtreeBuilder.h.
|
inline |
used by restore chain
Definition at line 80 of file LinearQuadtreeBuilder.h.
LinearQuadtree::NodeID ogdf::fast_multipole_embedder::LinearQuadtreeBuilder::firstInner |
Definition at line 132 of file LinearQuadtreeBuilder.h.
LinearQuadtree::NodeID ogdf::fast_multipole_embedder::LinearQuadtreeBuilder::firstLeaf |
Definition at line 133 of file LinearQuadtreeBuilder.h.
LinearQuadtree::NodeID ogdf::fast_multipole_embedder::LinearQuadtreeBuilder::lastInner |
Definition at line 135 of file LinearQuadtreeBuilder.h.
LinearQuadtree::NodeID ogdf::fast_multipole_embedder::LinearQuadtreeBuilder::lastLeaf |
Definition at line 136 of file LinearQuadtreeBuilder.h.
LinearQuadtree::PointID ogdf::fast_multipole_embedder::LinearQuadtreeBuilder::n |
Definition at line 142 of file LinearQuadtreeBuilder.h.
uint32_t ogdf::fast_multipole_embedder::LinearQuadtreeBuilder::numInnerNodes |
Definition at line 137 of file LinearQuadtreeBuilder.h.
uint32_t ogdf::fast_multipole_embedder::LinearQuadtreeBuilder::numLeaves |
Definition at line 138 of file LinearQuadtreeBuilder.h.
LinearQuadtree::NodeID ogdf::fast_multipole_embedder::LinearQuadtreeBuilder::restoreChainLastNode |
Definition at line 141 of file LinearQuadtreeBuilder.h.
LinearQuadtree& ogdf::fast_multipole_embedder::LinearQuadtreeBuilder::tree |
Definition at line 140 of file LinearQuadtreeBuilder.h.