{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,10,4]],"date-time":"2026-10-04T02:31:01Z","timestamp":1791081061354,"version":"4.1.0"},"reference-count":63,"publisher":"Association for Computing Machinery (ACM)","issue":"1","license":[{"start":{"date-parts":[[2005,1,1]],"date-time":"2005-01-01T00:00:00Z","timestamp":1104537600000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/www.acm.org\/publications\/policies\/copyright_policy#Background"}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["J. ACM"],"published-print":{"date-parts":[[2005,1]]},"abstract":"<jats:p>\n                    Let\n                    <jats:italic>G<\/jats:italic>\n                    =\n                    <jats:italic>(V,E)<\/jats:italic>\n                    be an undirected\n                    <jats:italic>weighted<\/jats:italic>\n                    graph with |\n                    <jats:italic>V<\/jats:italic>\n                    | =\n                    <jats:italic>n<\/jats:italic>\n                    and |\n                    <jats:italic>E<\/jats:italic>\n                    | =\n                    <jats:italic>m<\/jats:italic>\n                    . Let\n                    <jats:italic>k<\/jats:italic>\n                    \u2265 1 be an integer. We show that\n                    <jats:italic>G<\/jats:italic>\n                    =\n                    <jats:italic>(V,E)<\/jats:italic>\n                    can be preprocessed in\n                    <jats:italic>O<\/jats:italic>\n                    (\n                    <jats:italic>kmn<\/jats:italic>\n                    <jats:sup>\n                      1\/\n                      <jats:italic>k<\/jats:italic>\n                    <\/jats:sup>\n                    ) expected time, constructing a data structure of size\n                    <jats:italic>O<\/jats:italic>\n                    (\n                    <jats:italic>kn<\/jats:italic>\n                    <jats:sup>\n                      1+1\/\n                      <jats:italic>k<\/jats:italic>\n                    <\/jats:sup>\n                    ), such that any subsequent\n                    <jats:italic>distance query<\/jats:italic>\n                    can be answered, approximately, in\n                    <jats:italic>O(k)<\/jats:italic>\n                    time. The approximate distance returned is of stretch at most\n                    <jats:italic>2k<\/jats:italic>\n                    \u22121, that is, the quotient obtained by dividing the estimated distance by the actual distance lies between 1 and\n                    <jats:italic>2k<\/jats:italic>\n                    \u22121. A 1963 girth conjecture of Erd\u00f3s, implies that \u03a9(\n                    <jats:italic>n<\/jats:italic>\n                    <jats:sup>\n                      1+1\/\n                      <jats:italic>k<\/jats:italic>\n                    <\/jats:sup>\n                    ) space is needed in the worst case for any real stretch strictly smaller than 2\n                    <jats:italic>k<\/jats:italic>\n                    +1. The space requirement of our algorithm is, therefore, essentially optimal. The most impressive feature of our data structure is its\n                    <jats:italic>constant<\/jats:italic>\n                    query time, hence the name \"oracle\". Previously, data structures that used only\n                    <jats:italic>O<\/jats:italic>\n                    (\n                    <jats:italic>n<\/jats:italic>\n                    <jats:sup>\n                      1+1\/\n                      <jats:italic>k<\/jats:italic>\n                    <\/jats:sup>\n                    ) space had a query time of \u03a9(\n                    <jats:italic>n<\/jats:italic>\n                    <jats:sup>\n                      1\/\n                      <jats:italic>k<\/jats:italic>\n                    <\/jats:sup>\n                    ).Our algorithms are extremely simple and easy to implement efficiently. They also provide faster constructions of sparse\n                    <jats:italic>spanners<\/jats:italic>\n                    of weighted graphs, and improved\n                    <jats:italic>tree covers<\/jats:italic>\n                    and\n                    <jats:italic>distance labelings<\/jats:italic>\n                    of weighted or unweighted graphs.\n                  <\/jats:p>","DOI":"10.1145\/1044731.1044732","type":"journal-article","created":{"date-parts":[[2005,8,3]],"date-time":"2005-08-03T04:30:55Z","timestamp":1123043455000},"page":"1-24","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":388,"title":["Approximate distance oracles"],"prefix":"10.1145","volume":"52","author":[{"given":"Mikkel","family":"Thorup","sequence":"first","affiliation":[{"name":"AT&amp;T Labs---Research, Florham Park, NJ"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Uri","family":"Zwick","sequence":"additional","affiliation":[{"name":"Tel-Aviv University, Tel-Aviv, Israel"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2005,1]]},"reference":[{"key":"e_1_2_1_1_1","doi-asserted-by":"publisher","DOI":"10.1137\/S0097539796303421"},{"key":"e_1_2_1_2_1","doi-asserted-by":"publisher","DOI":"10.1007\/s003730200002"},{"key":"e_1_2_1_3_1","doi-asserted-by":"publisher","DOI":"10.1007\/BF01940874"},{"key":"e_1_2_1_4_1","unstructured":"Alon N. and Spencer J. 1992. The probabilistic method. Wiley New York.  Alon N. and Spencer J. 1992. The probabilistic method. Wiley New York."},{"key":"e_1_2_1_5_1","doi-asserted-by":"publisher","DOI":"10.1007\/BF02189308"},{"key":"e_1_2_1_6_1","doi-asserted-by":"publisher","DOI":"10.1137\/S0097539794271898"},{"key":"e_1_2_1_7_1","doi-asserted-by":"publisher","DOI":"10.1137\/0405013"},{"key":"e_1_2_1_8_1","doi-asserted-by":"publisher","DOI":"10.1145\/276698.276725"},{"key":"e_1_2_1_9_1","volume-title":"Proceedings of the 30th International Colloquium on Automata, Languages and Programming","author":"Baswana S.","unstructured":"Baswana , S. , and Sen , S . 2003. A simple linear time algorithm for computing a (2k&minus;1)-spanner of O(n1+1\/k) size in weighted graphs . In Proceedings of the 30th International Colloquium on Automata, Languages and Programming , Eindhoven, The Netherlands. 384--396. Baswana, S., and Sen, S. 2003. A simple linear time algorithm for computing a (2k&minus;1)-spanner of O(n1+1\/k) size in weighted graphs. In Proceedings of the 30th International Colloquium on Automata, Languages and Programming, Eindhoven, The Netherlands. 384--396."},{"key":"e_1_2_1_10_1","volume-title":"Proceedings of the 15th Annual ACM-SIAM Symposium on Discrete Algorithms (New Orleans La.). ACM","author":"Baswana S.","unstructured":"Baswana , S. , and Sen , S . 2004. Approximate distance oracles for unweighted graphs in O(n2 log n) time . In Proceedings of the 15th Annual ACM-SIAM Symposium on Discrete Algorithms (New Orleans La.). ACM , New York, 264--273. Baswana, S., and Sen, S. 2004. Approximate distance oracles for unweighted graphs in O(n2 log n) time. In Proceedings of the 15th Annual ACM-SIAM Symposium on Discrete Algorithms (New Orleans La.). ACM, New York, 264--273."},{"key":"e_1_2_1_11_1","doi-asserted-by":"publisher","DOI":"10.4153\/CJM-1966-109-8"},{"key":"e_1_2_1_12_1","volume-title":"Extremal graph theory","author":"Bollob\u00e1s B.","unstructured":"Bollob\u00e1s , B. 1978. Extremal graph theory . Academic Press , Orlando, Fla . Bollob\u00e1s, B. 1978. Extremal graph theory. Academic Press, Orlando, Fla."},{"key":"e_1_2_1_13_1","doi-asserted-by":"publisher","DOI":"10.1016\/0095-8956(74)90052-5"},{"key":"e_1_2_1_14_1","doi-asserted-by":"publisher","DOI":"10.1007\/BF02776078"},{"key":"e_1_2_1_15_1","doi-asserted-by":"publisher","DOI":"10.4153\/CMB-1966-036-2"},{"key":"e_1_2_1_16_1","doi-asserted-by":"publisher","DOI":"10.1016\/0022-0000(79)90044-8"},{"key":"e_1_2_1_17_1","doi-asserted-by":"publisher","DOI":"10.1007\/s004530010016"},{"key":"e_1_2_1_18_1","doi-asserted-by":"publisher","DOI":"10.1137\/S0097539794261295"},{"key":"e_1_2_1_19_1","doi-asserted-by":"publisher","DOI":"10.1006\/jagm.2000.1117"},{"key":"e_1_2_1_20_1","unstructured":"Cormen T. Leiserson C. Rivest R. and Stein C. 2001. Introduction to Algorithms 2nd ed. The MIT Press Cambridge Mass.   Cormen T. Leiserson C. Rivest R. and Stein C. 2001. Introduction to Algorithms 2nd ed. The MIT Press Cambridge Mass."},{"key":"e_1_2_1_21_1","doi-asserted-by":"publisher","DOI":"10.1006\/jagm.1997.0873"},{"key":"e_1_2_1_22_1","unstructured":"Dietzfelbinger M. and H\u00fcne M. 1996. A dictionary implementaion based on dynamic perfect hashing. DIMACS Implementation Challenge unpublished paper.  Dietzfelbinger M. and H\u00fcne M. 1996. A dictionary implementaion based on dynamic perfect hashing. DIMACS Implementation Challenge unpublished paper."},{"key":"e_1_2_1_23_1","doi-asserted-by":"publisher","DOI":"10.1007\/BF01386390"},{"key":"e_1_2_1_24_1","doi-asserted-by":"publisher","DOI":"10.1137\/S0097539797327908"},{"key":"e_1_2_1_25_1","doi-asserted-by":"publisher","DOI":"10.1145\/383962.383983"},{"key":"e_1_2_1_26_1","doi-asserted-by":"publisher","DOI":"10.1137\/S0097539701393384"},{"key":"e_1_2_1_27_1","volume-title":"Theory of Graphs and ITs Applications (Proc. Sympos. Smolenice","author":"Erd\u00f3s P.","year":"1963","unstructured":"Erd\u00f3s , P. 1964. Extremal problems in graph theory . In Theory of Graphs and ITs Applications (Proc. Sympos. Smolenice , 1963 ). Publ. House Czechoslovak Acad . Sci., Prague, 29--36. Erd\u00f3s, P. 1964. Extremal problems in graph theory. In Theory of Graphs and ITs Applications (Proc. Sympos. Smolenice, 1963). Publ. House Czechoslovak Acad. Sci., Prague, 29--36."},{"key":"e_1_2_1_28_1","first-page":"215","article-title":"On a problem of graph theory. Studia Sci","volume":"1","author":"Erd\u00f3s P.","year":"1966","unstructured":"Erd\u00f3s , P. , R\u00e9nyi , A. , and S\u00f3s , V. 1966 . On a problem of graph theory. Studia Sci . Math. Hungar. 1 , 215 -- 235 . Erd\u00f3s, P., R\u00e9nyi, A., and S\u00f3s, V. 1966. On a problem of graph theory. Studia Sci. Math. Hungar. 1, 215--235.","journal-title":"Math. Hungar."},{"key":"e_1_2_1_29_1","doi-asserted-by":"publisher","DOI":"10.1145\/780542.780608"},{"key":"e_1_2_1_30_1","doi-asserted-by":"publisher","DOI":"10.1145\/828.1884"},{"key":"e_1_2_1_31_1","doi-asserted-by":"publisher","DOI":"10.1145\/28869.28874"},{"key":"e_1_2_1_32_1","volume-title":"Proceedings of the 12th Annual ACM-SIAM Symposium on Discrete Algorithms (Washington, D.C.). ACM","author":"Gavoille C.","unstructured":"Gavoille , C. , Peleg , D. , P\u00e9rennes , S. , and Raz , R . 2001. Distance labeling in graphs . In Proceedings of the 12th Annual ACM-SIAM Symposium on Discrete Algorithms (Washington, D.C.). ACM , New York, 210--219. Gavoille, C., Peleg, D., P\u00e9rennes, S., and Raz, R. 2001. Distance labeling in graphs. In Proceedings of the 12th Annual ACM-SIAM Symposium on Discrete Algorithms (Washington, D.C.). ACM, New York, 210--219."},{"key":"e_1_2_1_33_1","volume-title":"Proceedings of the 13th Annual International Symposium on Algorithms and Computation. 357--368","author":"Gudmundson J.","unstructured":"Gudmundson , J. , Levcopoulos , C. , Narasimhan , G. , and Smid , M . 2002. Approximate distance oracles revisited . In Proceedings of the 13th Annual International Symposium on Algorithms and Computation. 357--368 . Gudmundson, J., Levcopoulos, C., Narasimhan, G., and Smid, M. 2002. Approximate distance oracles revisited. In Proceedings of the 13th Annual International Symposium on Algorithms and Computation. 357--368."},{"key":"e_1_2_1_34_1","doi-asserted-by":"publisher","DOI":"10.1145\/301250.301366"},{"key":"e_1_2_1_35_1","doi-asserted-by":"publisher","DOI":"10.1137\/0222071"},{"key":"e_1_2_1_36_1","volume-title":"Proceedings of the 13th Annual ACM-SIAM Symposium on Discrete Algorithms","author":"Klein P.","year":"2002","unstructured":"Klein , P. 2002 . Preprocessing an undirected planar network to enable fast approximate distance queries . In Proceedings of the 13th Annual ACM-SIAM Symposium on Discrete Algorithms ( San Francisco, Calif.). ACM, New York, 820--827. Klein, P. 2002. Preprocessing an undirected planar network to enable fast approximate distance queries. In Proceedings of the 13th Annual ACM-SIAM Symposium on Discrete Algorithms (San Francisco, Calif.). ACM, New York, 820--827."},{"key":"e_1_2_1_37_1","doi-asserted-by":"publisher","DOI":"10.1090\/S0002-9939-1956-0078686-7"},{"key":"e_1_2_1_38_1","doi-asserted-by":"publisher","DOI":"10.1006\/eujc.1993.1048"},{"key":"e_1_2_1_39_1","doi-asserted-by":"publisher","DOI":"10.1090\/S0273-0979-1995-00569-0"},{"key":"e_1_2_1_40_1","first-page":"1","article-title":"A characterization of the components of the graphs D(k, q)","volume":"157","author":"Lazebnik F.","year":"1996","unstructured":"Lazebnik , F. , Ustimenko , V. , and Woldar , A. 1996 . A characterization of the components of the graphs D(k, q) . Disc. Math. 157 , 1 -- 3 , 271--283. Lazebnik, F., Ustimenko, V., and Woldar, A. 1996. A characterization of the components of the graphs D(k, q). Disc. Math. 157, 1--3, 271--283.","journal-title":"Disc. Math."},{"key":"e_1_2_1_41_1","doi-asserted-by":"publisher","DOI":"10.1007\/BF01200757"},{"key":"e_1_2_1_42_1","doi-asserted-by":"publisher","DOI":"10.1007\/BF02126799"},{"key":"e_1_2_1_43_1","first-page":"39","article-title":"Explicit group--theoretical construction of combinatorial schemes and their application to the design of expanders and concentrators","volume":"24","author":"Margulis G.","year":"1988","unstructured":"Margulis , G. 1988 . Explicit group--theoretical construction of combinatorial schemes and their application to the design of expanders and concentrators . Probl. Inf. Transmis. 24 , 39 -- 46 . Margulis, G. 1988. Explicit group--theoretical construction of combinatorial schemes and their application to the design of expanders and concentrators. Probl. Inf. Transmis. 24, 39--46.","journal-title":"Probl. Inf. Transmis."},{"key":"e_1_2_1_44_1","doi-asserted-by":"publisher","DOI":"10.1007\/BF02761110"},{"key":"e_1_2_1_45_1","volume-title":"Graduate Texts in Mathematics","author":"Matou\u0161ek J.","unstructured":"Matou\u0161ek , J. 2002. Lectures on discrete geometry . In Graduate Texts in Mathematics , vol. 212 . Springer-Verlag , New York . Matou\u0161ek, J. 2002. Lectures on discrete geometry. In Graduate Texts in Mathematics, vol. 212. Springer-Verlag, New York."},{"key":"e_1_2_1_46_1","doi-asserted-by":"publisher","DOI":"10.1007\/BF01190847"},{"key":"e_1_2_1_47_1","doi-asserted-by":"crossref","unstructured":"Motwani R. and Raghavan P. 1995. Randomized Algorithms. Cambridge University Press Cambridge Mass Motwani R. and Raghavan P. 1995. Randomized Algorithms. Cambridge University Press Cambridge Mass","DOI":"10.1017\/CBO9780511814075"},{"key":"e_1_2_1_48_1","volume-title":"Distributed computing---A locality-sensitive approach","author":"Peleg D.","unstructured":"Peleg , D. 2000a. Distributed computing---A locality-sensitive approach . Society for Industrial and Applied Mathematics (SIAM) , Philadelphia, Pa . Peleg, D. 2000a. Distributed computing---A locality-sensitive approach. Society for Industrial and Applied Mathematics (SIAM), Philadelphia, Pa."},{"key":"e_1_2_1_49_1","doi-asserted-by":"publisher","DOI":"10.1002\/(SICI)1097-0118(200003)33:3%26lt;%26gt;1.0.CO;2-Y"},{"key":"e_1_2_1_50_1","doi-asserted-by":"publisher","DOI":"10.1002\/jgt.3190130114"},{"key":"e_1_2_1_51_1","doi-asserted-by":"publisher","DOI":"10.1007\/BF02020254"},{"key":"e_1_2_1_52_1","volume-title":"Proceedings of the 40th Annual IEEE Symposium on Foundations of Computer Science","author":"Shoshan A.","unstructured":"Shoshan , A. , and Zwick , U . 1999. All pairs shortest paths in undirected graphs with integer weights . In Proceedings of the 40th Annual IEEE Symposium on Foundations of Computer Science ( New York, N.Y.). IEEE Computer Society Press, Los Alamitos, Calif., 605--614. Shoshan, A., and Zwick, U. 1999. All pairs shortest paths in undirected graphs with integer weights. In Proceedings of the 40th Annual IEEE Symposium on Foundations of Computer Science (New York, N.Y.). IEEE Computer Society Press, Los Alamitos, Calif., 605--614."},{"key":"e_1_2_1_53_1","doi-asserted-by":"publisher","DOI":"10.1145\/316542.316548"},{"key":"e_1_2_1_54_1","volume-title":"Proceedings of the 11th Annual ACM-SIAM Symposium on Discrete Algorithms","author":"Thorup M.","year":"2000","unstructured":"Thorup , M. 2000 a. Even strongly universal hashing is pretty fast . In Proceedings of the 11th Annual ACM-SIAM Symposium on Discrete Algorithms ( San Francisco, Calif.). ACM, New York, 496--497. Thorup, M. 2000a. Even strongly universal hashing is pretty fast. In Proceedings of the 11th Annual ACM-SIAM Symposium on Discrete Algorithms (San Francisco, Calif.). ACM, New York, 496--497."},{"key":"e_1_2_1_55_1","doi-asserted-by":"publisher","DOI":"10.1006\/jagm.2000.1080"},{"key":"e_1_2_1_56_1","doi-asserted-by":"publisher","DOI":"10.5555\/874063.875578"},{"key":"e_1_2_1_57_1","doi-asserted-by":"publisher","DOI":"10.1145\/378580.378581"},{"key":"e_1_2_1_58_1","doi-asserted-by":"publisher","DOI":"10.1007\/BF02684706"},{"key":"e_1_2_1_59_1","doi-asserted-by":"publisher","DOI":"10.1145\/384192.384193"},{"key":"e_1_2_1_60_1","doi-asserted-by":"publisher","DOI":"10.1016\/0095-8956(91)90097-4"},{"key":"e_1_2_1_61_1","first-page":"347","article-title":"Heapsort","volume":"7","author":"Williams J.","year":"1964","unstructured":"Williams , J. 1964 . Heapsort . Commun ACM 7 , 5, 347 -- 348 . Williams, J. 1964. Heapsort. Commun ACM 7, 5, 347--348.","journal-title":"Commun ACM"},{"key":"e_1_2_1_62_1","volume-title":"Proceedings of the Ohio State-Denison Conference. World Sci. Publishing, River Edge, N.J. 293--298","author":"Woldar A.","unstructured":"Woldar , A. , and Ustimenko , V . 1993. An application of group theory to extremal graph theory. In Group theory , Proceedings of the Ohio State-Denison Conference. World Sci. Publishing, River Edge, N.J. 293--298 . Woldar, A., and Ustimenko, V. 1993. An application of group theory to extremal graph theory. In Group theory, Proceedings of the Ohio State-Denison Conference. World Sci. Publishing, River Edge, N.J. 293--298."},{"key":"e_1_2_1_63_1","doi-asserted-by":"publisher","DOI":"10.1145\/567112.567114"}],"container-title":["Journal of the ACM"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/1044731.1044732","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/1044731.1044732","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,18]],"date-time":"2025-06-18T17:36:47Z","timestamp":1750268207000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/1044731.1044732"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2005,1]]},"references-count":63,"journal-issue":{"issue":"1","published-print":{"date-parts":[[2005,1]]}},"alternative-id":["10.1145\/1044731.1044732"],"URL":"https:\/\/doi.org\/10.1145\/1044731.1044732","relation":{},"ISSN":["0004-5411","1557-735X"],"issn-type":[{"value":"0004-5411","type":"print"},{"value":"1557-735X","type":"electronic"}],"subject":[],"published":{"date-parts":[[2005,1]]},"assertion":[{"value":"2005-01-01","order":2,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}