close
Skip to main content

On Computing the Total Displacement Number via Weighted Motzkin Paths

  • Conference paper
  • First Online:
BERJAYA Combinatorial Algorithms (IWOCA 2016)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 9843))

Included in the following conference series:

  • 932 Accesses

  • 1 Citation

Abstract

Counting the number of permutations of a given total displacement is equivalent to counting weighted Motzkin paths of a given area (Guay-Paquet and Petersen [11]). The former combinatorial problem is still open. In this work we show that this connection allows to construct efficient algorithms for counting and for sampling such permutations. These algorithms provide a tool to better understand the original combinatorial problem. A by-product of our approach is a different way of counting based on certain “building sequences” for Motzkin paths, which may be of independent interest.

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

Access this chapter

Subscribe and save

Springer+
from $39.99 /Month
  • Starting from 10 chapters or articles per month
  • Access and download chapters and articles from more than 300k books and 2,500 journals
  • Cancel anytime
View plans

Buy Now

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
  • Free shipping worldwide - view details

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

References

  1. Barcucci, E., Del Lungo, A., Pergola, E., Pinzani, R.: A construction for enumerating k-coloured Motzkin paths. In: Li, M., Du, D.-Z. (eds.) COCOON 1995. LNCS, vol. 959, pp. 254–263. Springer, Heidelberg (1995)

    Chapter  Google Scholar 

  2. Bärtschi, A., Geissmann, B., Graf, D., Hruz, T., Penna, P., Tschager, T.: On computing the total displacement number via weighted Motzkin paths, June 2016, arXiv preprint. https://arxiv.org/abs/1606.05538

  3. Bubley, R.: Randomized Algorithms: Approximation, Generation and Counting. Springer, London (2001)

    Book  MATH  Google Scholar 

  4. Deutsch, E., Heinz, A.P.: A129181 Motzkin paths by area, Online Encyclopedia of Integer Sequences, June 2012. http://oeis.org/A129181

  5. Deza, M., Huang, T.: Metrics on permutations, a survey. J. Comb. Inf. Syst. Sci. 23, 173–185 (1998)

    MathSciNet  MATH  Google Scholar 

  6. Diaconis, P., Graham, R.L.: Spearman’s footrule as a measure of disarray. J. Roy. Stat. Soc.: Ser. B (Methodol.) 39(2), 262–268 (1977)

    MathSciNet  MATH  Google Scholar 

  7. Donaghey, R., Shapiro, L.W.: Motzkin numbers. J. Comb. Theory: Ser. A 23(3), 291–301 (1977)

    Article  MathSciNet  MATH  Google Scholar 

  8. Gérard, O., Guay-Paquet, M., Heinz, A.P.: A062869 permutation with fixed total displacement, Online Encyclopedia of Integer Sequences, May 2014. https://oeis.org/A062869

  9. Goulden, I.P., Jackson, D.M.: Combinatorial Enumeration. Dover Publications, Mineola (2004)

    MATH  Google Scholar 

  10. Greenberg, S., Pascoe, A., Randall, D.: Sampling biased lattice configurations using exponential metrics. In: 20th ACM-SIAM Symposium on Discrete Algorithms SODA 2009, pp. 76–85 (2009)

    Google Scholar 

  11. Guay-Paquet, M., Petersen, K.: The generating function for total displacement. Electron. J. Comb. 21(3), P3–37 (2014)

    MathSciNet  MATH  Google Scholar 

  12. Humphreys, K.: A history and a survey of lattice path enumeration. J. Stat. Plan. Infer. 140(8), 2237–2254 (2010)

    Article  MathSciNet  MATH  Google Scholar 

  13. Irurozki, E.: Sampling and learning distance-based probability models for permutation spaces. Ph.D. thesis, University of the Basque Country, Donostia - San Sebastián, July 2014

    Google Scholar 

  14. Knuth, D.E.: The art of computer programming. Sorting Search. 3, 426–458 (1999)

    Google Scholar 

  15. Merlini, D.: Generating functions for the area below some lattice paths. In: Discrete Random Walks, DRW 2003, pp. 217–228 (2003)

    Google Scholar 

  16. Pergola, E., Pinzani, R., Rinaldi, S., Sulanke, R.: A bijective approach to the area of generalized Motzkin paths. Adv. Appl. Math. 28(3), 580–591 (2002)

    Article  MathSciNet  MATH  Google Scholar 

  17. Sulanke, R.A.: Moments of generalized Motzkin paths. J. Integer Sequences 3(00.1), 1–14 (2000)

    MathSciNet  MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding authors

Correspondence to Andreas Bärtschi, Barbara Geissmann, Tomas Hruz, Paolo Penna or Thomas Tschager.

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2016 Springer International Publishing Switzerland

About this paper

Cite this paper

Bärtschi, A., Geissmann, B., Graf, D., Hruz, T., Penna, P., Tschager, T. (2016). On Computing the Total Displacement Number via Weighted Motzkin Paths. In: Mäkinen, V., Puglisi, S., Salmela, L. (eds) Combinatorial Algorithms. IWOCA 2016. Lecture Notes in Computer Science(), vol 9843. Springer, Cham. https://doi.org/10.1007/978-3-319-44543-4_33

Download citation

Keywords

These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Publish with us

Policies and ethics

Profiles

  1. Andreas Bärtschi