Abstract
Motivated by a problem in music theory of measuring the distance between chords, scales, and rhythms we consider algorithms for obtaining a minimum-weight many-to-many matching between two sets of points on the real line. Given sets \(A\) and \(B\), we seek to find the best rigid translation of \(B\) and a many-to-many matching that minimizes the sum of the squares of the distances between matched points. We provide discrete algorithms that solve this continuous optimization problem, and discuss other related matters.
Similar content being viewed by others
References
Ben-Dor, A., Karp, R.M., Schwikowski, B., Shamir, R.: The restriction scaffold problem. J. Comput. Biol. 10(2), 385–398 (2003)
Buss, S.R., Yianilos, P.N.: A bipartite matching approach to approximate string comparison and search. Technical Report, NEC Research Institute (1995)
Colannino, J., Damian, M., Hurtado, F., Iacono, J., Meijer, H., Ramaswami, S., Toussaint, G.: An O\((n \log n)\) time algorithm for the restriction scaffold assignment problem. J. Comput. Biol. 13(4), 979–989 (2006)
Colannino, J., Damian, M., Hurtado, F., Langerman, S., Meijer, H., Ramaswami, S., Souvaine, D., Toussaint, G.: Efficient many-to-many point matching in one dimension. Graphs Comb. 23, 169–178 (2007)
Demirci, M.F., Shokoufandeh, A., Keselman, Y., Bretzner, L., Dickinson, S.: Object recognition as many-to-many feature matching. Int. J. Comput. Vis. 69(2), 203–222 (2006)
Eiter, T., Mannila, H.: Distance measures for point sets and their computation. Acta Inform. 34(2), 109–133 (1997)
Karp, R.M., Li, S.-Y.R.: Two special cases of the assignment problem. Discret. Math. 13, 129–142 (1975)
Kuhn, H.W.: The Hungarian method for the assignment problem. Nav. Res. Logist. 2, 83–97 (1955)
Mucha, M., Sankowski, P.: Maximum matchings via Gaussian elimination. In: Proceedings of 45th Annual IEEE Symposium on Foundations of Computer Science, pp. 248–255 (2004)
Schrijver, A.: Combinatorial Optimization: Polyhedra and Efficiency. Springer, Berlin (2003)
Toussaint, G.: A comparison of rhythmic similarity measures. In: Proceedings of the 5th International Conference on Music Information Retrieval, pp. 242–245 (2004)
Toussaint, G.: The geometry of musical rhythm. In: Akiyama, J., et al. (eds.) Selected Papers of the Japanese Conference on Discrete and Computational Geometry. LNCS, vol. 3742, pp. 198–212. Springer, Berlin (2005)
Tymoczko, D.: The geometry of musical chords. Science 313(5783), 72–74 (2006)
Werman, M., Peleg, S., Melter, R., Kong, T.Y.: Bipartite graph matching for points on a line or a circle. J. Algorithms 7, 277–284 (1986)
Acknowledgments
This work was initiated at the 2nd Bellairs Winter Workshop on Mathematics and Music, co-organized by Dmitri Tymoczko and Godfried Toussaint, held on February 6-12, 2010. We thank the other participants of that workshop, Fernando Benadon, Adrian Childs, Richard Cohn, Rachel Hall, John Halle, Jay Rahn, Bill Sethares, and Steve Taylor, for providing a stimulating research environment
Author information
Authors and Affiliations
Corresponding author
Additional information
D. Rappaport: Research supported by NSERC Discovery Grant 388-329.
Rights and permissions
About this article
Cite this article
Mohamad, M., Rappaport, D. & Toussaint, G. Minimum Many-to-Many Matchings for Computing the Distance Between Two Sequences. Graphs and Combinatorics 31, 1637–1648 (2015). https://doi.org/10.1007/s00373-014-1467-4
Received:
Revised:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s00373-014-1467-4