首页> 外文会议>International symposium on integrated uncertainty in knowledge modelling and decision making >Vector Representation of Abstract Program Tree for Assessing Algorithm Variety for the Same Purpose
【24h】

Vector Representation of Abstract Program Tree for Assessing Algorithm Variety for the Same Purpose

机译:相同目的评估算法多样性的抽象程序树的矢量表示

获取原文

摘要

There are various ways to realize programs to meet the same requirements. Therefore, for evaluation of a program code, it is necessary not only to satisfy the requirement for it but also to evaluate how it achieves the purpose. We think that the knowledge of such alternative ways to achieve the same purpose is important for program education and software engineering. In this paper, we propose a method to analyze how the program achieves requirements. We propose particularly a vector representation that appropriately indicates the structure of an abstract syntax tree. We confirmed that our proposal not only analyzes fundamental programs as appears in textbooks effectively but also classifies algorithms that are adopted in various programs submitted to a programming contest. Based on this confirmation, we further investigated the relationship between the class name of the Java language and the program structure. As a result, it was shown that classes with similar program structure are named by certain similar linguistic expressions. Therefore, we conclude that our proposed method is a useful basis for representing the diversity of programs on vector space.
机译:有多种方法可以实现满足相同要求的程序。因此,对于程序代码的评估,不仅需要满足对程序代码的要求,而且还必须评估其如何实现目的。我们认为,了解有关实现同一目的的替代方法的知识对于程序教育和软件工程非常重要。在本文中,我们提出了一种分析程序如何达到要求的方法。我们特别提出了一种向量表示形式,该向量表示形式适当地指示了抽象语法树的结构。我们确认,我们的建议不仅有效地分析了教科书中出现的基本程序,而且还对提交给编程竞赛的各种程序中采用的算法进行了分类。基于此确认,我们进一步研究了Java语言的类名与程序结构之间的关系。结果表明,具有相似程序结构的类是由某些相似的语言表达式命名的。因此,我们得出结论,我们提出的方法是表示向量空间上程序多样性的有用基础。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号