e01.org

Pointer jumping

Pointer jumping or path doubling is a design technique for parallel algorithms that operate on pointer structures, such as linked lists and directed graphs. Pointer jumping allows an algorithm to follow paths with a time complexity that is logarithmic with respect to the length of the longest path. It does this by "jumping" to the end of the path computed by neighbors. The basic operation of pointer jumping is to replace each neighbor in a pointer structure with its neighbor's neighbor. In each step of the algorithm, this replacement is done for all nodes in the data structure, which can be done independently in parallel. In the next step when a neighbor's neighbor is followed, the neighbor's path already followed in the previous step is added to the node's followed path in a single step. Thus, each step effectively doubles the distance traversed by the explored paths. Pointer jumping is best understood by looking at simple examples such as list ranking and root finding.

Pointer jumping or path doubling is a design technique for parallel algorithms that operate on pointer structures, such as linked lists and directed graphs. Pointer jumping allows an algorithm to follow paths with a time complexity that is logarithmic with respect to the length of the longest path. It does this by "jumping" to the end of the path computed by neighbors. The basic operation of pointer jumping is to replace each neighbor in a pointer structure with its neighbor's neighbor. In each step of the algorithm, this replacement is done for all nodes in the data structure, which can be done independently in parallel. In the next step when a neighbor's neighbor is followed, the neighbor's path already followed in the previous step is added to the node's followed path in a single step. Thus, each step effectively doubles the distance traversed by the explored paths. Pointer jumping is best understood by looking at simple examples such as list ranking and root finding. if successor_next = successor then break for i ← 1 to length(successor) do in parallel successor[i] ← successor_next[i] return successor The following image provides an example of using pointer jumping on a small forest. On each iteration the successor points to the vertex following one more successor. After two iterations, every vertex points to its root node.

References

  1. ^ Chung, Sun; Condon, Anne (1996). "Parallel implementation of Bouvka's minimum spanning tree algorithm". Proceedings of International Conference on Parallel Processing . pp. 302– 308. doi : 10.1109/IPPS.1996.508073 . ISBN 0-8186-7255-2 . S2CID 12710022 . Wikipedia revision 1359913167, retrieved 2026-11-20 · 1795129200.0
  2. ^ Little, James J.; Blelloch, Guy E.; Cass, Todd A. (1989). "Algorithmic Techniques for Computer Vision on a Fine-Grained Parallel Machine". IEEE Transactions on Pattern Analysis and Machine Intelligence . 11 (3): 244– 257. doi : 10.1109/34.21793 . Wikipedia revision 1359913167, retrieved 2026-11-20 · 1795129200.0
  3. ^ Cook, Gregory W.; Delp, Edward J. (1994). "An investigation of JPEG image and video compression using parallel processing". Proceedings of ICASSP '94. IEEE International Conference on Acoustics, Speech and Signal Processing . pp. 437– 440. doi : 10.1109/ICASSP.1994.389394 . ISBN 0-7803-1775-0 . S2CID 8879246 . Wikipedia revision 1359913167, retrieved 2026-11-20 · 1795129200.0
  4. ^ Namasivayam, Vasanth Krishna; Prasanna, Viktor K. (2006). Scalable Parallel Implementation of ExactInference in Bayesian Networks . 12th International Conference on Parallel and Distributed Systems - (ICPADS'06). pp. 8 pp. doi : 10.1109/ICPADS.2006.96 . ISBN 0-7695-2612-8 . S2CID 15728730 . Wikipedia revision 1359913167, retrieved 2026-11-20 · 1795129200.0
  5. ^ Hirschberg, D. S. (1976). "Parallel algorithms for the transitive closure and the connected component problems". Proceedings of the eighth annual ACM symposium on Theory of computing - STOC '76 . pp. 55– 57. doi : 10.1145/800113.803631 . S2CID 306043 . Wikipedia revision 1359913167, retrieved 2026-11-20 · 1795129200.0
  6. ^ Savage, Carla Diane (1977). Parallel Algorithms for Graph Theoretic Problems (Thesis). University of Illinois at Urbana-Champaign. Archived from the original on June 1, 2022. Wikipedia revision 1359913167, retrieved 2026-11-20 · 1795129200.0
  7. ^ Quinn, Michael J. (1994). Parallel Computing: Theory and Practice (2 ed.). McGraw-Hill. ISBN 0-07-051294-9 . Wikipedia revision 1359913167, retrieved 2026-11-20 · 1795129200.0
  8. ^ Mattson, Timothy G.; Sanders, Beverly A.; Massingill, Berna L. (2005). Patterns for Parallel Programming . Addison-Wesley. ISBN 0-321-22811-1 . Wikipedia revision 1359913167, retrieved 2026-11-20 · 1795129200.0
  9. ^ a b c d e f JáJá, Joseph (1992). An Introduction to Parallel Algorithms . Addison Wesley. ISBN 0-201-54856-9 . Wikipedia revision 1359913167, retrieved 2026-11-20 · 1795129200.0
  10. ^ a b Shiloach, Yossi; Vishkin, Uzi (1982). "An O(log n ) Parallel Connectivity Algorithm". Journal of Algorithms . 3 (1): 57– 67. doi : 10.1016/0196-6774(82)90008-6 . Wikipedia revision 1359913167, retrieved 2026-11-20 · 1795129200.0
  11. ^ a b Tarjan, Robert E; Vishkin, Uzi (1984). "Finding biconnected components and computing tree functions in logarithmic parallel time". 25th Annual Symposium on Foundations of Computer Science, 1984 . pp. 12– 20. doi : 10.1109/SFCS.1984.715896 . ISBN 0-8186-0591-X . Wikipedia revision 1359913167, retrieved 2026-11-20 · 1795129200.0
  12. ^ Wylie, James C. (1979). "Chapter 4: Computational Structures" . The Complexity of Parallel Computations (Thesis). Cornell University. Wikipedia revision 1359913167, retrieved 2026-11-20 · 1795129200.0
  13. ^ a b c d Cormen, Thomas H. ; Leiserson, Charles E. ; Rivest, Ronald L. ; Stein, Clifford (2001) [1990]. Introduction to Algorithms (2nd ed.). MIT Press and McGraw-Hill. ISBN 0-262-03293-7 . Wikipedia revision 1359913167, retrieved 2026-11-20 · 1795129200.0
  14. Savage, Carla Diane. Parallel Algorithms for Graph Theoretic Problems . University of Illinois at Urbana-Champaign . 1977. · 1781650800.0
  15. Wylie, James C. The Complexity of Parallel Computations . Cornell University . 1979. · 1781650800.0
source: e01 Encyclopedia · licence: CC BY-SA 4.0 · page · source revision

Cite this

"Pointer jumping". 1781737663. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1359913167

JSON record · API collection · citation policy