Back to Search Start Over

Anti-unification for Unranked Terms and Hedges.

Authors :
Kutsia, Temur
Levy, Jordi
Villaret, Mateu
Source :
Journal of Automated Reasoning; Feb2014, Vol. 52 Issue 2, p155-190, 36p
Publication Year :
2014

Abstract

We study anti-unification for unranked terms and hedges that may contain term and hedge variables. The anti-unification problem of two hedges ${\tilde{s}}_1$ and ${\tilde{s}}_2$ is concerned with finding their generalization, a hedge ${\tilde{q}}$ such that both ${\tilde{s}}_1$ and ${\tilde{s}}_2$ are instances of ${\tilde{q}}$ 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. [ABSTRACT FROM AUTHOR]

Details

Language :
English
ISSN :
01687433
Volume :
52
Issue :
2
Database :
Complementary Index
Journal :
Journal of Automated Reasoning
Publication Type :
Academic Journal
Accession number :
93872573
Full Text :
https://doi.org/10.1007/s10817-013-9285-6