共查询到20条相似文献,搜索用时 15 毫秒
1.
In this paper, we consider a commonly used compression scheme called run-length encoding. We provide both lower and upper bounds for the problems of comparing two run-length encoded strings. Specifically, we prove the 3sum-hardness for both the wildcard matching problem and the k-mismatch problem with run-length compressed inputs. Given two run-length encoded strings of m and n runs, such a result implies that it is very unlikely to devise an o(mn)-time algorithm for either of them. We then present an inplace algorithm running in O(mnlogm) time for their combined problem, i.e. k-mismatch with wildcards. We further demonstrate that if the aim is to report the positions of all the occurrences, there exists a stronger barrier of Ω(mnlogm)-time, matching the running time of our algorithm. Moreover, our algorithm can be easily generalized to a two-dimensional setting without impairing the time and space complexity. 相似文献
2.
Crossing by lines all edges of a line arrangement 总被引:1,自引:0,他引:1
3.
4.
5.
6.
7.
8.
10.
11.
12.
13.
14.
Let F be either the real number field R or the complex number field C and RPn the real projective space of dimension n. Theorems A and C in Hemmi and Kobayashi (2008) [2] give necessary and sufficient conditions for a given F-vector bundle over RPn to be stably extendible to RPm for every m?n. In this paper, we simplify the theorems and apply them to the tangent bundle of RPn, its complexification, the normal bundle associated to an immersion of RPn in Rn+r(r>0), and its complexification. Our result for the normal bundle is a generalization of Theorem A in Kobayashi et al. (2000) [8] and that for its complexification is a generalization of Theorem 1 in Kobayashi and Yoshida (2003) [5]. 相似文献
15.
16.
17.
18.
19.