Skip to main navigation Skip to search Skip to main content

Anti-Unification for Unranked Terms and Hedges

  • Johannes Kepler University Linz
  • CSIC - Research Institute of Artificial Intelligence

Research output: Chapter in Book/Conference proceedingConference proceedingpeer-review

5 Citations (Scopus)

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.

Original languageEnglish
Title of host publication22nd International Conference on Rewriting Techniques and Applications, RTA 2011
Pages219-234
Number of pages16
Volume10
DOIs
Publication statusPublished - 2011
Event22nd International Conference on Rewriting Techniques and Applications, RTA 2011 - Novi Sad, Serbia
Duration: 30 May 20111 Jun 2011

Publication series

NameLeibniz International Proceedings in Informatics, LIPIcs
Volume10
ISSN (Print)1868-8969

Conference

Conference22nd International Conference on Rewriting Techniques and Applications, RTA 2011
Country/TerritorySerbia
CityNovi Sad
Period30/05/111/06/11

Keywords

  • Anti-unification
  • Generalization
  • Hedges
  • Software clones
  • Unranked terms

Fingerprint

Dive into the research topics of 'Anti-Unification for Unranked Terms and Hedges'. Together they form a unique fingerprint.

Cite this