Skip to main content

A Ptolemaic Partitioning Mechanism

  • Conference paper
  • First Online:
Similarity Search and Applications (SISAP 2022)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 13590))

Included in the following conference series:

  • 724 Accesses

Abstract

For many years, exact metric search relied upon the property of triangle inequality to give a lower bound on uncalculated distances. Two exclusion mechanisms derive from this property, generally known as pivot exclusion and hyperplane exclusion. These mechanisms work in any proper metric space and are the basis of many metric indexing mechanisms. More recently, the Ptolemaic and four-point lower bound properties have been shown to give tighter bounds in some subclasses of metric space.

Both triangle inequality and the four-point lower bound directly imply straightforward partitioning mechanisms: that is, a method of dividing a finite space according to a fixed partition, in order that one or more classes of the partition can be eliminated from a search at query time. However, up to now, no partitioning principle has been identified for the Ptolemaic inequality, which has been used only as a filtering mechanism. Here, a novel partitioning mechanism for the Ptolemaic lower bound is presented. It is always better than either pivot or hyperplane partitioning. While the exclusion condition itself is weaker than Hilbert (four-point) exclusion, its calculation is cheaper. Furthermore, it can be combined with Hilbert exclusion to give a new maximum for exclusion power with respect to the number of distances measured per query.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

Notes

  1. 1.

    See e.g. https://en.wikipedia.org/wiki/Hilbert_space.

  2. 2.

    See e.g. https://en.wikipedia.org/wiki/Hadamard_space.

  3. 3.

    For appropriate formulations; see [4].

  4. 4.

    This choice is arbitrary, any two points which preserve \(d(p_0,p_1)\) could be used.

  5. 5.

    https://bitbucket.org/richardconnor/partitions.

References

  1. Chávez, E., Navarro, G., Baeza-Yates, R., Marroquín, J.L.: Searching in metric spaces. ACM Comput. Surv. 33(3), 273–321 (2001). https://doi.org/10.1145/502807.502808. https://dl.acm.org/doi/10.1145/502807.502808

  2. Connor, R., Vadicamo, L., Cardillo, F.A., Rabitti, F.: Supermetric search with the four-point property. In: Amsaleg, L., Houle, M.E., Schubert, E. (eds.) SISAP 2016. LNCS, vol. 9939, pp. 51–64. Springer, Cham (2016). https://doi.org/10.1007/978-3-319-46759-7_4

    Chapter  Google Scholar 

  3. Connor, R.: A Ptolemaic partitioning mechanism (2022). https://doi.org/10.48550/ARXIV.2208.09324. https://arxiv.org/abs/2208.09324

  4. Connor, R., Cardillo, F.A., Vadicamo, L., Rabitti, F.: Hilbert exclusion: improved metric search through finite isometric embeddings. ACM Trans. Inf. Syst. (TOIS) 35(3), 1–27 (2016)

    Article  Google Scholar 

  5. Connor, R., Vadicamo, L., Cardillo, F.A., Rabitti, F.: Supermetric search. Inf. Syst. 80, 108–123 (2019)

    Article  Google Scholar 

  6. Hetland, M.L.: Ptolemaic indexing. J. Comput. Geom. 6, 165–184 (2015)

    MathSciNet  MATH  Google Scholar 

  7. Hetland, M.L., Skopal, T., Lokoč, J., Beecks, C.: Ptolemaic access methods: challenging the reign of the metric space model. Inf. Syst. 38(7), 989–1006 (2013). https://doi.org/10.1016/j.is.2012.05.011. https://www.sciencedirect.com/science/article/pii/S0306437912000786

  8. Lokoč, J., Hetland, M.L., Skopal, T., Beecks, C.: Ptolemaic indexing of the signature quadratic form distance. In: Proceedings of the Fourth International Conference on SImilarity Search and APplications, SISAP 2011, pp. 9–16. Association for Computing Machinery, New York (2011). https://doi.org/10.1145/1995412.1995417

  9. Weber, R., Schek, H.J., Blott, S.: A quantitative analysis and performance study for similarity-search methods in high-dimensional spaces. In: Proceedings of 24th VLDB, vol. 98, pp. 194–205. Morgan Kaufmann (1998)

    Google Scholar 

  10. Zezula, P., Amato, G., Dohnal, V., Batko, M.: Similarity Search: The Metric Space Approach, vol. 32. Springer, Heidelberg (2006). https://doi.org/10.1007/0-387-29151-2

    Book  MATH  Google Scholar 

Download references

Acknowledgements

The author would like to sincerely thank the anonymous reviewers for their thorough and helpful comments on the submitted version of this article.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Richard Connor .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2022 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Connor, R. (2022). A Ptolemaic Partitioning Mechanism. In: Skopal, T., Falchi, F., Lokoč, J., Sapino, M.L., Bartolini, I., Patella, M. (eds) Similarity Search and Applications. SISAP 2022. Lecture Notes in Computer Science, vol 13590. Springer, Cham. https://doi.org/10.1007/978-3-031-17849-8_12

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-17849-8_12

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-17848-1

  • Online ISBN: 978-3-031-17849-8

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics