中文
相关论文

相关论文: Fast Label Extraction in the CDAWG

200 篇论文

We show how to assign labels of size $\tilde O(1)$ to the vertices of a directed planar graph $G$, such that from the labels of any three vertices $s,t,f$ we can deduce in $\tilde O(1)$ time whether $t$ is reachable from $s$ in the graph…

数据结构与算法 · 计算机科学 2023-07-17 Shiri Chechik , Shay Mozes , Oren Weimann

The compressed indexing problem is to preprocess a string $S$ of length $n$ into a compressed representation that supports pattern matching queries. That is, given a string $P$ of length $m$ report all occurrences of $P$ in $S$. We present…

数据结构与算法 · 计算机科学 2018-04-12 Anders Roy Christiansen , Mikko Berggren Ettienne

Given a partition of an n element set into equivalence classes, we consider time-space tradeoffs for representing it to support the query that asks whether two given elements are in the same equivalence class. This has various applications…

数据结构与算法 · 计算机科学 2013-06-19 Moshe Lewenstein , J. Ian Munro , Venkatesh Raman

We consider the problem of designing a succinct data structure for {\it path graphs} (which are a proper subclass of chordal graphs and a proper superclass of interval graphs) on $n$ vertices while supporting degree, adjacency, and…

数据结构与算法 · 计算机科学 2023-03-03 Girish Balakrishnan , Sankardeep Chakraborty , N S Narayanaswamy , Kunihiko Sadakane

The enumeration of chemical graphs is an important topic in cheminformatics and bioinformatics, particularly in the discovery of novel drugs. These graphs are typically either tree-like multigraphs or composed of tree-like multigraphs…

离散数学 · 计算机科学 2025-02-11 Muhammad Ilyas , Seemab Hayat , Naveed Ahmed Azam

It is well-known that, given a probability distribution over $n$ characters, in the worst case it takes (\Theta (n \log n)) bits to store a prefix code with minimum expected codeword length. However, in this paper we first show that, for…

数据结构与算法 · 计算机科学 2009-05-20 Travis Gagie , Gonzalo Navarro , Yakov Nekrich

Given strings $P$ of length $m$ and $T$ of length $n$ over an alphabet of size $\sigma$, the string matching with $k$-mismatches problem is to find the positions of all the substrings in $T$ that are at Hamming distance at most $k$ from…

数据结构与算法 · 计算机科学 2013-08-01 Emanuele Giaquinta , Szymon Grabowski , Kimmo Fredriksson

Label noise and long-tailed distributions are two major challenges in distantly supervised relation extraction. Recent studies have shown great progress on denoising, but paid little attention to the problem of long-tailed relations. In…

计算与语言 · 计算机科学 2022-05-18 Tianming Liang , Yang Liu , Xiaoyan Liu , Hao Zhang , Gaurav Sharma , Maozu Guo

Controlled Text Generation (CTG) aims to produce texts that exhibit specific desired attributes. In this study, we introduce a pluggable CTG framework for Large Language Models (LLMs) named Dynamic Attribute Graphs-based controlled text…

计算与语言 · 计算机科学 2024-05-27 Xun Liang , Hanyu Wang , Shichao Song , Mengting Hu , Xunzhi Wang , Zhiyu Li , Feiyu Xiong , Bo Tang

Calculating the diameter of an undirected graph requires quadratic running time under the Strong Exponential Time Hypothesis and this barrier works even against any approximation better than 3/2. For planar graphs with positive edge…

数据结构与算法 · 计算机科学 2025-07-08 Michał Włodarczyk

Let a text $T[1..n]$ be the only string generated by a context-free grammar with $g$ (terminal and nonterminal) symbols, and of size $G$ (measured as the sum of the lengths of the right-hand sides of the rules). Such a grammar, called a…

数据结构与算法 · 计算机科学 2020-04-03 Francisco Claude , Gonzalo Navarro , Alejandro Pacheco

In this paper, we describe a new type of match between a pattern and a text that aren't necessarily maximal in the query, but still contain useful matching information: locally maximal exact matches (LEMs). There are usually a large amount…

数据结构与算法 · 计算机科学 2025-05-22 Ahsan Sanaullah , Degui Zhi , Shaojie Zhang

We describe a new sampling-based method to determine cuts in an undirected graph. For a graph (V, E), its cycle space is the family of all subsets of E that have even degree at each vertex. We prove that with high probability, sampling the…

分布式、并行与集群计算 · 计算机科学 2010-07-22 David Pritchard , Ramakrishna Thurimella

Acyclic and cyclic orientations of an undirected graph have been widely studied for their importance: an orientation is acyclic if it assigns a direction to each edge so as to obtain a directed acyclic graph (DAG) with the same vertex set;…

数据结构与算法 · 计算机科学 2015-06-22 Alessio Conte , Roberto Grossi , Andrea Marino , Romeo Rizzi

In this work, we consider the problem of pattern matching under the dynamic time warping (DTW) distance motivated by potential applications in the analysis of biological data produced by the third generation sequencing. To measure the DTW…

数据结构与算法 · 计算机科学 2022-09-01 Garance Gourdel , Anne Driemel , Pierre Peterlongo , Tatiana Starikovskaya

Given a 2-edge connected, unweighted, and undirected graph $G$ with $n$ vertices and $m$ edges, a $\sigma$-tree spanner is a spanning tree $T$ of $G$ in which the ratio between the distance in $T$ of any pair of vertices and the…

数据结构与算法 · 计算机科学 2018-10-03 Davide Bilò , Kleitos Papadopoulos

Many problems in areas as diverse as recommendation systems, social network analysis, semantic search, and distributed root cause analysis can be modeled as pattern search on labeled graphs (also called "heterogeneous information networks"…

社会与信息网络 · 计算机科学 2018-04-12 Xiaofeng Yang , Deepak Ajwani , Wolfgang Gatterbauer , Patrick K. Nicholson , Mirek Riedewald , Alessandra Sala

Suffix trees are an important data structure at the core of optimal solutions to many fundamental string problems, such as exact pattern matching, longest common substring, matching statistics, and longest repeated substring. Recent lines…

数据结构与算法 · 计算机科学 2022-08-31 Nicola Rizzo , Alexandru I. Tomescu , Alberto Policriti

Given a string $S$, the \emph{compressed indexing problem} is to preprocess $S$ into a compressed representation that supports fast \emph{substring queries}. The goal is to use little space relative to the compressed size of $S$ while…

数据结构与算法 · 计算机科学 2018-01-10 Philip Bille , Mikko Berggren Ettienne , Inge Li Gørtz , Hjalte Wedel Vildhøj

We present new and improved data structures that answer exact node-to-node distance queries in planar graphs. Such data structures are also known as distance oracles. For any directed planar graph on n nodes with non-negative lengths we…

数据结构与算法 · 计算机科学 2011-11-11 Shay Mozes , Christian Sommer