@inproceedings{cce4e3ea5a6a4d2ca380760dc6ac4897,
title = "Anti-Unification for Unranked Terms and Hedges",
abstract = "We study anti-unification for unranked terms and hedges that may contain term and hedge variables. The anti-unification problem of two hedges {\~s}1 and {\~s}2 is concerned with finding their generalization, a hedge {\~q} such that both {\~s}1 and {\~s}1 are instances of {\~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 that is a parameter in the improved algorithm and selects certain common subsequences from the hedges to be generalized. Finally, we indicate a possible application of the algorithm in software engineering.",
keywords = "Anti-unification, Generalization, Hedges, Software clones, Unranked terms",
author = "Temur Kutsia and Jordi Levy and Mateu Villaret",
year = "2011",
doi = "10.4230/LIPIcs.RTA.2011.219",
language = "English",
isbn = "9783939897309",
volume = "10",
series = "Leibniz International Proceedings in Informatics, LIPIcs",
pages = "219--234",
booktitle = "22nd International Conference on Rewriting Techniques and Applications, RTA 2011",
note = "22nd International Conference on Rewriting Techniques and Applications, RTA 2011 ; Conference date: 30-05-2011 Through 01-06-2011",
}