Complexity / 2021 / Article / Alg 2

Research Article

An Adaptive Parallel Method for Indexing Transportation Moving Objects

Algorithm 2

Deleting object from leaf node .
Input: move the object
Output: no output; the leaf node is updated after the operation is completed
(1) bucket = get_bucket ();
(2) delete_from_bucket ();
(3) if (is_empty(bucket))
(4)  delete_bucket(bucket); /∗ delete empty bucket ∗/