Anti-unification for Unranked Terms and Hedges

被引:0
|
作者
Temur Kutsia
Jordi Levy
Mateu Villaret
机构
[1] Johannes Kepler University,Research Institute for Symbolic Computation (RISC)
[2] Artificial Intelligence Research Institute (IIIA),Departament d’Informàtica i Matemàtica Aplicada (IMA)
[3] Spanish Council for Scientific Research (CSIC),undefined
[4] Universitat de Girona (UdG),undefined
来源
关键词
Anti-unification; Generalization; Unranked terms; Hedges; Software clones;
D O I
暂无
中图分类号
学科分类号
摘要
We study anti-unification for unranked terms and hedges that may contain term and hedge variables. The anti-unification problem of two hedges \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}${\tilde{s}}_1$\end{document} and \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}${\tilde{s}}_2$\end{document} is concerned with finding their generalization, a hedge \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}${\tilde{q}}$\end{document} such that both \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}${\tilde{s}}_1$\end{document} and \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}${\tilde{s}}_2$\end{document} are instances of \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}${\tilde{q}}$\end{document} under some substitutions. Hedge variables help to fill in gaps in generalizations, while term variables abstract single (sub)terms with different top function symbols. First, we design a complete and minimal algorithm to compute least general generalizations. Then, we improve the efficiency of the algorithm by restricting possible alternatives permitted in the generalizations. The restrictions are imposed with the help of a rigidity function, which is a parameter in the improved algorithm and selects certain common subsequences from the hedges to be generalized. The obtained rigid anti-unification algorithm is further made more precise by permitting combination of hedge and term variables in generalizations. Finally, we indicate a possible application of the algorithm in software engineering.
引用
收藏
页码:155 / 190
页数:35
相关论文
共 50 条
  • [41] D-terms, unification, and the Higgs mass
    Maloney, Alexander
    Pierce, Aaron
    Wacker, Jay G.
    JOURNAL OF HIGH ENERGY PHYSICS, 2006, (06):
  • [42] Concept Unification of Terms in Different Languages for IR
    Li, Qing
    Myaeng, Sung-Hyon
    Jin, Yun
    Kang, Bo-yeong
    COLING/ACL 2006, VOLS 1 AND 2, PROCEEDINGS OF THE CONFERENCE, 2006, : 641 - 648
  • [43] First-Order Unification on Compressed Terms
    Gascon, Adria
    Maneth, Sebastian
    Ramos, Lander
    22ND INTERNATIONAL CONFERENCE ON REWRITING TECHNIQUES AND APPLICATIONS (RTA'11), 2011, 10 : 51 - 60
  • [44] THE UNIFICATION OF INFINITE SETS OF TERMS AND ITS APPLICATIONS
    SALZER, G
    LECTURE NOTES IN ARTIFICIAL INTELLIGENCE, 1992, 624 : 409 - 420
  • [45] Unification of terms used in reporting analytical results
    Hopkins, CG
    JOURNAL OF THE AMERICAN CHEMICAL SOCIETY, 1907, 29 (1/12) : 1312 - 1314
  • [46] Linguistic terms with weakened hedges: A model for qualitative decision making under uncertainty
    Wang, Hai
    Xu, Zeshui
    Zeng, Xiao-Jun
    INFORMATION SCIENCES, 2018, 433 : 37 - 54
  • [47] A UNIFICATION ALGORITHM FOR SECOND-ORDER MONADIC TERMS
    FARMER, WM
    ANNALS OF PURE AND APPLIED LOGIC, 1988, 39 (02) : 131 - 174
  • [48] Gauge-Higgs unification with brane kinetic terms
    Aranda, A
    Díaz-Cruz, JL
    PHYSICS LETTERS B, 2006, 633 (4-5) : 591 - 594
  • [49] Perturbative unification of soft supersymmetry-breaking terms
    Kubo, J
    Mondragon, M
    Zoupanos, G
    PHYSICS LETTERS B, 1996, 389 (03) : 523 - 532
  • [50] PROPOSALS FOR UNIFICATION OF PRINCIPAL TERMS IN RESEARCH ON ATMOSPHERIC OZONE
    PENNDORF, R
    JOURNAL OF GEOPHYSICAL RESEARCH, 1949, 54 (1-2): : 169 - 172