首页> 外文会议>Asian Symposium on Programming Languages and Systems >Sorting and Searching by Distribution: From Generic Discrimination to Generic Tries
【24h】

Sorting and Searching by Distribution: From Generic Discrimination to Generic Tries

机译:分销排序和搜索:从通用歧视到通用尝试

获取原文

摘要

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 optimal-time 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.
机译:一个鉴别器分区与键与按升序列出的组相关联的值。鉴别者可以通过关于订购关系的表示的结构递归而经典地定义。使用类型索引的家庭,我们展示了如何在最坏情况下可以在最佳的方式构建最佳时间查找功能的尝试。我们提供了比较,分类,歧视和Trie建筑功能的通用实现,并提供了突出这些算法之间的核心关系的实际正确性的实际正确性。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号