中文
相关论文

相关论文: Pattern Matching in Trees and Strings

200 篇论文

The trie data structure is a good choice for finite maps whose keys are data structures (trees) rather than atomic values. But what if we want the keys to be patterns, each of which matches many lookup keys? Efficient matching of this kind…

编程语言 · 计算机科学 2024-11-12 Simon Peyton Jones , Sebastian Graf

Binary jumbled pattern matching asks to preprocess a binary string $S$ in order to answer queries $(i,j)$ which ask for a substring of $S$ that is of length $i$ and has exactly $j$ 1-bits. This problem naturally generalizes to…

数据结构与算法 · 计算机科学 2014-07-01 Travis Gagie , Danny Hermelin , Gad M. Landau , Oren Weimann

We present a new algorithm for subsequence matching in grammar compressed strings. Given a grammar of size $n$ compressing a string of size $N$ and a pattern string of size $m$ over an alphabet of size $\sigma$, our algorithm uses…

数据结构与算法 · 计算机科学 2014-06-06 Philip Bille , Patrick Hagge Cording , Inge Li Gørtz

String matching is the problem of finding all the substrings of a text which match a given pattern. It is one of the most investigated problems in computer science, mainly due to its very diverse applications in several fields. Recently,…

数据结构与算法 · 计算机科学 2017-07-04 Domenico Cantone , Simone Faro , Arianna Pavone

In this paper we consider several variants of the pattern matching problem. In particular, we investigate the following problems: 1) Pattern matching with k mismatches; 2) Approximate counting of mismatches; and 3) Pattern matching with…

数据结构与算法 · 计算机科学 2013-07-05 Marius Nicolae , Sanguthevar Rajasekaran

For an arbitrary tree we investigate the problems of constructing a maximum matching which minimizes or maximizes the cardinality of a maximum matching of the graph obtained from original one by its removal and present corresponding…

离散数学 · 计算机科学 2007-07-17 R. R. Kamalian , V. V. Mkrtchyan

We present an algorithm for searching regular expression matches in compressed text. The algorithm reports the number of matching lines in the uncompressed text in time linear in the size of its compressed version. We define efficient data…

形式语言与自动机理论 · 计算机科学 2019-01-17 Pierre Ganty , Pedro Valero

We present an algorithm for computing a maximum agreement subtree of two unrooted evolutionary trees. It takes O(n^{1.5} log n) time for trees with unbounded degrees, matching the best known time complexity for the rooted case. Our…

计算工程、金融与科学 · 计算机科学 2007-05-23 Ming-Yang Kao , Tak-Wah Lam , Wing-Kin Sung , Hing-Fung Ting

The domains of data mining and knowledge discovery make use of large amounts of textual data, which need to be handled efficiently. Specific problems, like finding the maximum weight ordered common subset of a set of ordered sets or…

数据结构与算法 · 计算机科学 2009-12-07 Mugurel Ionut Andreica , Nicolae Tapus

We present new algorithms for the problem of multiple string matching of gapped patterns, where a gapped pattern is a sequence of strings such that there is a gap of fixed length between each two consecutive strings. The problem has…

数据结构与算法 · 计算机科学 2014-07-08 Emanuele Giaquinta , Kimmo Fredriksson , Szymon Grabowski , Alexandru I. Tomescu , Esko Ukkonen

Cartesian tree pattern matching consists of finding all the factors of a text that have the same Cartesian tree than a given pattern. There already exist theoretical and practical solutions for the exact case. In this paper, we propose the…

数据结构与算法 · 计算机科学 2025-05-15 Bastien Auvray , Julien David , Samah Ghazawi , Richard Groult , Gad M. Landau , Thierry Lecroq

Given a pattern x of length m and a text y of length n, both over an ordered alphabet, the order-preserving pattern matching problem consists in finding all substrings of the text with the same relative order as the pattern. It is an…

数据结构与算法 · 计算机科学 2015-01-19 Simone Faro , Oğuzhan Külekci

We consider random binary trees that appear as the output of certain standard algorithms for sorting and searching if the input is random. We introduce the subtree size metric on search trees and show that the resulting metric spaces…

概率论 · 数学 2014-05-06 Rudolf Grübel

In this paper, we revisit the much studied problem of Pattern Matching with Swaps (Swap Matching problem, for short). We first present a graph-theoretic model, which opens a new and so far unexplored avenue to solve the problem. Then, using…

数据结构与算法 · 计算机科学 2013-09-19 Pritom Ahmed , Costas S. Iliopoulos , A. S. M. Sohidull Islam , M. Sohel Rahman

Construction of phylogenetic trees and networks for extant species from their characters represents one of the key problems in phylogenomics. While solution to this problem is not always uniquely defined and there exist multiple methods for…

种群与进化 · 定量生物学 2016-08-10 Nikita Alexeev , Max A. Alekseyev

Searching for all occurrences of a pattern in a text is a fundamental problem in computer science with applications in many other fields, like natural language processing, information retrieval and computational biology. In the last two…

信息检索 · 计算机科学 2012-10-01 Simone Faro , M. Oguzhan Külekci

The most fundamental problem considered in algorithms for text processing is pattern matching: given a pattern $p$ of length $m$ and a text $t$ of length $n$, does $p$ occur in $t$? Multiple versions of this basic question have been…

数据结构与算法 · 计算机科学 2021-11-10 Moses Ganardi , Paweł Gawrychowski

We introduce a new string matching problem called order-preserving matching on numeric strings where a pattern matches a text if the text contains a substring whose relative orders coincide with those of the pattern. Order-preserving…

数据结构与算法 · 计算机科学 2013-02-19 Jinil Kim , Peter Eades , Rudolf Fleischer , Seok-Hee Hong , Costas S. Iliopoulos , Kunsoo Park , Simon J. Puglisi , Takeshi Tokuyama

Pairwise ordered tree alignment are combinatorial objects that appear in RNA secondary structure comparison. However, the usual representation of tree alignments as supertrees is ambiguous, i.e. two distinct supertrees may induce identical…

定量方法 · 定量生物学 2016-03-08 Cedric Chauve , Julien Courtiel , Yann Ponty

Tree search algorithms, such as branch-and-bound, are the most widely used tools for solving combinatorial and nonconvex problems. For example, they are the foremost method for solving (mixed) integer programs and constraint satisfaction…

人工智能 · 计算机科学 2018-05-18 Maria-Florina Balcan , Travis Dick , Tuomas Sandholm , Ellen Vitercik