Parameterized matching on non-linear structures
نویسندگان
چکیده
The classical pattern matching paradigm is that of seeking occurrences of one string in another, where both strings are drawn from an alphabet set Σ. In the parameterized pattern matching model, a consistent renaming of symbols from Σ is allowed in a match. The parameterized matching paradigm has proven useful in problems in software engineering, computer vision, and other applications. In classical pattern matching, both the text and pattern are strings. Applications such as searching in xml or searching in hypertext require searching strings in non-linear structures such as trees or graphs. There has been work in the literature on exact and approximate parameterized matching, as well as work on exact and approximate string matching on non-linear structures. In this paper we explore parameterized matching in non-linear structures. We prove that exact parameterized matching on trees can be computed in linear time for alphabets in an O(n)-size integer range, and in time O(n logm) in general, where n is the tree size and m the pattern length. These bounds are optimal in the comparison model. We also show that exact parameterized matching on directed acyclic graphs (DAGs) is NPcomplete.
منابع مشابه
Antenna Design and Non Linear Simulation of Rectifier for Wideband and Multi-Tone Radio Frequency Energy Harvesting
In this paper, a wideband rectenna without using matching networks is presented. In addition of wide bandwidth, the omnidirectional radiation pattern, maximum radio frequency to dc conversion efficiency, harvesting capability of the minimum input power level, easy fabrication process cause this antenna be a good choice for radio frequency energy harvesting applications. Matching network has bee...
متن کاملHierarchical Matching of Non-rigid Shapes
Detecting similarity between non-rigid shapes is one of the fundamental problems in computer vision. While rigid alignment can be parameterized using a small number of unknowns representing rotations, reflections and translations, non-rigid alignment does not have this advantage. The majority of the methods addressing this problem boil down to a minimization of a distortion measure. The complex...
متن کاملThe Parameterized Complexity of the Induced Matching Problem in Planar Graphs
Given a graph G and an integer k ≥ 0, the NP-complete Induced Matching problem asks for an edge subset M such that M is a matching and no two edges of M are joined by an edge of G. The complexity of this problem on general graphs as well as on many restricted graph classes has been studied intensively. However, little is known about the parameterized complexity of this problem. Our main contrib...
متن کاملFamilies of moment matching based, structure preserving approximations for linear port Hamiltonian systems
In this paper we propose a solution to the problem of moment matching with preservation of the port Hamiltonian structure, in the framework of time-domain moment matching. We characterize several families of parameterized port Hamiltonian models that match the moments of a given port Hamiltonian system, at a set of finite interpolation points. We also discuss the problem of Markov parameters ma...
متن کاملPosition Heaps for Parameterized Strings
We propose a new indexing structure for parameterized strings, called parameterized position heap. Parameterized position heap is applicable for parameterized pattern matching problem, where the pattern matches a substring of the text if there exists a bijective mapping from the symbols of the pattern to the symbols of the substring. We propose an online construction algorithm of parameterized ...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- Inf. Process. Lett.
دوره 109 شماره
صفحات -
تاریخ انتشار 2009