Necklace swap problem for rhythmic similarity measures

  • Authors:
  • Yoan José Pinzón Ardila;Raphaël Clifford;Manal Mohamed

  • Affiliations:
  • Department of Computer Science, King's College London, London, UK;Department of Computer Science, University of Bristol, UK;Department of Computer Science, King's College London, London, UK

  • Venue:
  • SPIRE'05 Proceedings of the 12th international conference on String Processing and Information Retrieval
  • Year:
  • 2005

Quantified Score

Hi-index 0.00

Visualization

Abstract

Given two n-bit (cyclic) binary strings, A and B, represented on a circle (necklace instances). Let each sequence have the same number k of 1's. We are interested in computing the cyclic swap distance between A and B, i.e., the minimum number of swaps needed to convert A to B, minimized over all rotations of B. We show that this distance may be computed in O(k2).