A Didactic Analysis of Functional Queues Cover Image

A Didactic Analysis of Functional Queues
A Didactic Analysis of Functional Queues

Author(s): Christian Rinderknecht
Subject(s): Education
Published by: Vilniaus Universiteto Leidykla
Keywords: didactics of informatics; analysis of algorithms; amortized analysis; aggregate analysis; functional queue; functional language; Dyck path; Dyck meander

Summary/Abstract: When first introduced to the analysis of algorithms, students are taught how to assess the best and worst cases, whereas the mean and amortized costs are considered advanced topics, usually saved for graduates. When presenting the latter, aggregate analysis is explained first because it is the most intuitive kind of amortized analysis, often involving enumerative combinatorics. We show how the aggregate analysis of functional queues can be carried out accurately and graphically, without combinatorics nor analytical tools like asymptotics, hence making it amenable to undergraduates. Our presentation is independent of any programming language.

  • Issue Year: 10/2011
  • Issue No: 1
  • Page Range: 65-72
  • Page Count: 8
  • Language: English
Toggle Accessibility Mode