Juggling with Pattern Matching

  • Authors:
  • Jean Cardinal;Steve Kremer;Stefan Langerman

  • Affiliations:
  • Computer Science Department, Universite Libre de Bruxelles, B-1050 Brussels, Belgium;Ecole Normale Superieure de Cachan and INRIA Futurs, 61 avenue du President Wilson, 94235 Cachan Cedex, France;Computer Science Department, Universite Libre de Bruxelles, B-1050 Brussels, Belgium

  • Venue:
  • Theory of Computing Systems
  • Year:
  • 2006

Quantified Score

Hi-index 0.00

Visualization

Abstract

In the late 1980s it was shown that juggling patterns can be described by strings of numbers with fascinating combinatorial properties that have since then been studied by many mathematicians and computer scientists. In this paper we propose to study juggling patterns from a pattern matching point of view. Inspired by pattern matching algorithms based on convolution, we propose a fast algorithm for finding transitions between juggling states. Apart from being a fun application of pattern matching theory, it provides a practical tool in the experimental design of (large) juggling patterns. We also provide a compact formula for counting the number of transitions of a given length between two juggling states.