![]() |
MobilityDB 1.3
|
◆ node_split()
Splits an RTree node and redistributes its STBoxes between two nodes. This function splits an RTree node into two nodes by distributing the STBoxes based on the axis with the largest length. The STBoxes are moved to either the original node or a new right node, depending on their position relative to the splitting axis. After the initial split, the function ensures that both nodes have at least a minimum number of STBoxes by redistributing the STBoxes if necessary. If the node is a branch node, it also sorts both nodes by the first axis.
|