### Abstract

We study the edit-distance of regular tree languages. The edit-distance is a metric for measuring the similarity or dissimilarity between two objects, and a regular tree language is a set of trees accepted by a finite-state tree automaton or described by a regular tree grammar. Given two regular tree languages L and R, we define the edit-distance d(L,R) between L and R to be the minimum edit-distance between a tree t_{1} ∈ L and t_{2} ∈ R, respectively. Based on tree automata for L and R, we present a polynomial algorithm that computes d(L,R). We also suggest how to use the edit-distance between two tree languages for identifying a special common string between two context-free grammars.

Original language | English |
---|---|

Title of host publication | Language and Automata Theory and Applications - 8th International Conference, LATA 2014, Proceedings |

Pages | 466-477 |

Number of pages | 12 |

DOIs | |

Publication status | Published - 2014 Apr 14 |

Event | 8th International Conference on Language and Automata Theory and Applications, LATA 2014 - Madrid, Spain Duration: 2014 Mar 10 → 2014 Mar 14 |

### Publication series

Name | Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) |
---|---|

Volume | 8370 LNCS |

ISSN (Print) | 0302-9743 |

ISSN (Electronic) | 1611-3349 |

### Other

Other | 8th International Conference on Language and Automata Theory and Applications, LATA 2014 |
---|---|

Country | Spain |

City | Madrid |

Period | 14/3/10 → 14/3/14 |

### Fingerprint

### All Science Journal Classification (ASJC) codes

- Theoretical Computer Science
- Computer Science(all)

### Cite this

*Language and Automata Theory and Applications - 8th International Conference, LATA 2014, Proceedings*(pp. 466-477). (Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics); Vol. 8370 LNCS). https://doi.org/10.1007/978-3-319-04921-2_38