講演名 2013-01-23
順序木の類似度を評価する手法の提案 : C言語プログラムの類似性検証への応用
包 胡日査, 中田 充, 葛 崎偉,
PDFダウンロードページ PDFダウンロードページへ
抄録(和) 本論文では,与えられた2つの順序木の類似度を効率的に評価する方法について論じる.順序木の類似度計算手法として,順序木を文字列に変換して文字列の編集距離を計算することによって木の編集距離を近似する方法が提案されている.それに対して,本研究では与えられた2つの順序木について,文字列に変換するのではなく,同じ深さのノードの最大マッチングを行って順序木の類似度を計算する.まずは,すべてのノードについて,根ノードからの距離を求め,同じ深さのノードに対応する2部グラフを作る.作られた2部グラフの最大マッチングを求め,マッチングが取れたノードの数に基づいて順序木の類似度を計算する.このように提案した手法をC言語プログラムの類似性判定に応用し,提案手法の有効性を確認する.
抄録(英) In this paper, we deal with evaluation method of similarity of two given ordered trees. A similarity computation technique of ordered trees has been proposed, which first transforms two ordered trees respectively to two character strings and then computes the similarity of the two strings by using edit distance of the strings. With respect to this, we propse a method of similarity evaluation by finding maximum matching of the nodes with same depth without doing the transformation of ordered trees. Firstly, we compute node distance from the root for each node and construct individually a bipartite graph for the nodes with same distance. Then we find maximum matching for each bipartite graph and evaluate the similarity of ordered trees based on the number of matched nodes. Finally, we show an example by applying our method to the judgement of similarity for C language programs to show the validity of our method.
キーワード(和) 構文木 / 類似度 / プログラムの類似性 / 2部マッチング
キーワード(英) syntax tree / similarity degree / program similarity / bipartite matching
資料番号 MSS2012-56
発行日

研究会情報
研究会 MSS
開催期間 2013/1/15(から1日開催)
開催地(和)
開催地(英)
テーマ(和)
テーマ(英)
委員長氏名(和)
委員長氏名(英)
副委員長氏名(和)
副委員長氏名(英)
幹事氏名(和)
幹事氏名(英)
幹事補佐氏名(和)
幹事補佐氏名(英)

講演論文情報詳細
申込み研究会 Mathematical Systems Science and its applications(MSS)
本文の言語 JPN
タイトル(和) 順序木の類似度を評価する手法の提案 : C言語プログラムの類似性検証への応用
サブタイトル(和)
タイトル(英) A Proposal of Similarity Evaluation for Ordered Trees : Application to Similarity Verification of C Language Programs
サブタイトル(和)
キーワード(1)(和/英) 構文木 / syntax tree
キーワード(2)(和/英) 類似度 / similarity degree
キーワード(3)(和/英) プログラムの類似性 / program similarity
キーワード(4)(和/英) 2部マッチング / bipartite matching
第 1 著者 氏名(和/英) 包 胡日査 / Huricha BAO
第 1 著者 所属(和/英) 山口大学大学院東アジア研究科
Graduate School of East Asian Studies, Yamaguchi Univ.
第 2 著者 氏名(和/英) 中田 充 / Mitsuru NAKATA
第 2 著者 所属(和/英) 山口大学教育学部
Faculty of Education, Yamaguchi Univ.
第 3 著者 氏名(和/英) 葛 崎偉 / Qi-Wei GE
第 3 著者 所属(和/英) 山口大学教育学部
Faculty of Education, Yamaguchi Univ.
発表年月日 2013-01-23
資料番号 MSS2012-56
巻番号(vol) vol.112
号番号(no) 383
ページ範囲 pp.-
ページ数 4
発行日