License: Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported license (CC BY-NC-ND 3.0)
When quoting this document, please refer to the following
DOI: 10.4230/LIPIcs.RTA.2011.219
URN: urn:nbn:de:0030-drops-31181
URL: http://dagstuhl.sunsite.rwth-aachen.de/volltexte/2011/3118/
Kutsia, Temur ;
Levy, Jordi ;
Villaret, Mateu
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_2 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.
BibTeX - Entry
@InProceedings{kutsia_et_al:LIPIcs:2011:3118,
author = {Temur Kutsia and Jordi Levy and Mateu Villaret},
title = {{Anti-Unification for Unranked Terms and Hedges}},
booktitle = {22nd International Conference on Rewriting Techniques and Applications (RTA'11)},
pages = {219--234},
series = {Leibniz International Proceedings in Informatics (LIPIcs)},
ISBN = {978-3-939897-30-9 },
ISSN = {1868-8969},
year = {2011},
volume = {10},
editor = {Manfred Schmidt-Schau{\ss}},
publisher = {Schloss Dagstuhl--Leibniz-Zentrum fuer Informatik},
address = {Dagstuhl, Germany},
URL = {http://drops.dagstuhl.de/opus/volltexte/2011/3118},
URN = {urn:nbn:de:0030-drops-31181},
doi = {10.4230/LIPIcs.RTA.2011.219},
annote = {Keywords: Anti-unification, generalization, unranked terms, hedges, software clones.}
}
Keywords: |
|
Anti-unification, generalization, unranked terms, hedges, software clones. |
Collection: |
|
22nd International Conference on Rewriting Techniques and Applications (RTA'11) |
Issue Date: |
|
2011 |
Date of publication: |
|
26.04.2011 |