Sorting and searching by distribution: from generic discrimination to generic tries

Fritz Henglein, Ralf Hinze

1 Citation (Scopus)

Abstract

A discriminator partitions values associated with keys into groups listed in ascending order. Discriminators can be defined generically by structural recursion on representations of ordering relations. Employing type-indexed families we demonstrate how tries with an optimaltime lookup function can be constructed generically in worst-case linear time. We provide generic implementations of comparison, sorting, discrimination and trie building functions and give equational proofs of correctness that highlight core relations between these algorithms.

Original languageEnglish
Title of host publicationProgramming Languages and Systems : 11th Asian Symposium, APLAS 2013, Melbourne, VIC, Australia, December 9-11, 2013. Proceedings
EditorsChung-chieh Shan
Number of pages18
PublisherSpringer
Publication date2013
Pages315-332
ISBN (Print)978-3-319-03542-0
ISBN (Electronic)978-3-319-03542-0
DOIs
Publication statusPublished - 2013
Event11th Asian Symposium on Programming Languages and Systems - Melbourne, Australia
Duration: 9 Dec 201311 Dec 2013
Conference number: 11

Conference

Conference11th Asian Symposium on Programming Languages and Systems
Number11
Country/TerritoryAustralia
CityMelbourne
Period09/12/201311/12/2013
SeriesLecture notes in computer science
Volume8301
ISSN0302-9743

Fingerprint

Dive into the research topics of 'Sorting and searching by distribution: from generic discrimination to generic tries'. Together they form a unique fingerprint.

Cite this