首页> 外文会议>IEEE International Symposium on Applied Computational Intelligence and Informatics >Synthesis of Merging algorithms on binary trees using multisets in Theorema
【24h】

Synthesis of Merging algorithms on binary trees using multisets in Theorema

机译:在定理中使用多重树的二元树合并算法的合并算法

获取原文
获取外文期刊封面目录资料

摘要

We present the principles and the experiments of deduction based synthesis of merging algorithms for binary trees. Merging is an auxiliary function used in certain algorithms for sorting of binary trees, however we also address concatenation of unsorted trees (the result will also be in general not sorted) as well as merging of sorted trees (both inputs as well as the output are sorted). We follow the classical approach to deductive synthesis: the algorithm is extracted from the proof of a synthesis conjecture, which asserts that the merged object exists. The novelty of our approach consists in using multisets for expressing the fact that two trees have the same content, which also allows us to develop new powerful proof techniques, mostly by using induction based on the Noetherian ordering among trees induced by the strict inclusion of the corresponding multisets. As the synthesis proofs proceed on different alternatives, several versions of the algorithms are produced. The experiments result in 24 concatenation algorithms, 4 merging algorithms, as well as some sub-auxiliary algorithms for insertion of an element into the tree and for splitting a tree into two sub-trees having the elements smaller, respectively bigger, than a certain value.
机译:我们介绍了基于扣除的二元树合并算法的原理和实验。合并是在某些算法中使用的辅助功能,用于分类二叉树,但我们还解决了未排序的树木的串联(结果也将一般不分类)以及分类树的合并(两个输入以及输出)的合并分类)。我们遵循古典方法来演绎合成:算法从合成猜想的证明中提取,这归咎于合并的对象存在。我们的方法的新颖性包括使用多项来表达两棵树具有相同内容的事实,这也使我们能够开发新的强大证明技术,主要是通过基于严格纳入所引起的树木之间的Neetherian排序来使用感应性相应的多车。随着合成证明在不同的替代方案上进行,产生了几种版本的算法。实验结果导致24个级联算法,4合并算法,以及用于将元素插入树中的一些子辅助算法,并将树分成两个具有更大的元素的子树,分别比某个值更大。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号