...
首页> 外文期刊>Theory and Practice of Logic Programming >Optimal union-find in Constraint Handling Rules
【24h】

Optimal union-find in Constraint Handling Rules

机译:约束处理规则中的最优联合发现

获取原文
获取原文并翻译 | 示例
           

摘要

Constraint Handling Rules (CHR) is a committed-choice rule-based language that was originally intended for writing constraint solvers. In this paper we show that it is also possible to write the classic union-find algorithm and variants in CHR. The programs neither compromise in declarativeness nor efficiency. We study the time complexity of our programs: they match the almost-linear complexity of the best known imperative implementations. This fact is illustrated with experimental results.
机译:约束处理规则(CHR)是基于承诺选择规则的语言,最初旨在编写约束求解器。在本文中,我们证明了有可能在CHR中编写经典的联合查找算法和变体。这些程序既不影响声明性也不影响效率。我们研究程序的时间复杂度:它们与最著名的命令式实现的几乎线性的复杂度匹配。实验结果说明了这一事实。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号