Complexity / 2021 / Article / Alg 5

Research Article

An Adaptive Parallel Method for Indexing Transportation Moving Objects

Algorithm 5

CPU-based counting algorithm CPU_Count.
Input: partial object movement information linked list update_info_list
Output: update each node counter value
(1)for each (item in some part of update_info_list)
(2)  node_in = get_location (item.new_pos);
(3)  lock_and_increase (node_in);