期刊文献+

最长公共子序列算法在程序代码相似度度量中的应用 被引量:7

Application of Longest Common Subsequence Algorithm in Similarity Measurement of Program Source Codes
下载PDF
导出
摘要 阐述了最长公共子序列算法在程序代码结构相似度度量中的应用,列举了两种计算最优值和一种获取最长公共标识符子序列的算法.根据最优值得到结构相似度值,进而可以查找出结构相似程序对.最后探讨了程序代码相似度的实际应用. An application of Longest common subsequence algorithm in structure similarity measurement of program source code is stated. Two LCS length algorithm and a longest common token subsequence algorithm are listed. According to the LCS Length,structure similarity can be got, and then the similar program pairs in structure can be found. In the end, the application of program source code similarity is discussed.
出处 《内蒙古大学学报(自然科学版)》 CAS CSCD 北大核心 2008年第2期225-229,共5页 Journal of Inner Mongolia University:Natural Science Edition
关键词 最长公共子序列算法 最优值 结构相似度 最长公共标识符子序列 longest common subsequence algorithm LCS length structure similarity longest common token subsequence
  • 相关文献

参考文献10

  • 1Halstead Mauriee H. Elements of Software Science [M]. New York: Elsevier North Holland Press, 1977,5-7.
  • 2Hirsehberg DS. Algorithms for the Longest Common Subsequenee Problem [J]. ACM, 1977,24(4):664-675.
  • 3http ://www. xici. net/b37540/d27285731. htm.
  • 4Anany Levitin. Introduction to The Design &Analysis of Algorithms [M](影印版),北京:清华大学出版社,2003,275.
  • 5Grier S. A tool that detects plagiarism in PASCAL programs [J]. SIGCSE Bulletin, 1981,13(1) :15-20.
  • 6Edward L Jones. Metrics Based Plagiarism Monitoring [J]. JCSC, 2001,16(4) : 253-261.
  • 7Whale G. Identification of Program Similarity in Large Populations [J]. The Computer Journal, 1990,33 (2) : 140-146.
  • 8Wise MJ. Detection of similarities in student programs: YAPring may be preferable to Plaguering [A]. In: Proceedings of SIGSCI Technical Symposium. Kansas City, USA: 1992,268-271.
  • 9Wise MJ. YAP3: Improved Detection of Similarities in Computer Program and Other Texts[A]. In: Proceedings of the 27th SIGCSE Technical Symposium. Philadelphia, PA, USA. 1996,130-134.
  • 10Gitchell D, Tran N. Sim: A utility for detecting similarity in computer programs [A]. In: Proceedings of the 30th SIGCSE Technical Symposium on Computer Science Education. New Orleans, LA, USA: 1999,266-270.

同被引文献64

引证文献7

二级引证文献16

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部