Let G be a graph with n vertices and m edges. The problem of constructing a spanning tree is to find a connected subgraph of G with n vertices and n - 1 edges. In this paper, we propose an O(log n) time parallel algor...
详细信息
Let G be a graph with n vertices and m edges. The problem of constructing a spanning tree is to find a connected subgraph of G with n vertices and n - 1 edges. In this paper, we propose an O(log n) time parallel algorithm with O(n/log n) processors on an EREW PRAM for constructing a spanning tree on trapezoid graphs.
We consider the problem of fingerprinting text by sets of symbols. Specifically, if S is a string, of length n, over a finite, ordered alphabet Σ, and S' is a substring of S, then the fingerprint of S' is the...
详细信息
Let a text string T of n symbols and a pattern string P of m symbols from alphabet E be given. A swapped version P' of P is a length m string derived from P by a series of local swaps (i.e., p(l)' <-- p(l+1...
详细信息
Let a text string T of n symbols and a pattern string P of m symbols from alphabet E be given. A swapped version P' of P is a length m string derived from P by a series of local swaps (i.e., p(l)' <-- p(l+1) and p(l+1)' <-- p(l)), where each element can participate in no more than one swap. The Pattern Matching with Swaps problem is that of finding all locations i of T for which there exists a swapped version P' of P with an exact matching of P' in location i of T. Recently, some efficient algorithms were developed for this problem. Their time complexity is better than the best known algorithms for pattern matching with mismatches. However, the Approximate Pattern Matching with Swaps problem was not known to be solved faster than the Pattern Matching with Mismatches problem. In the Approximate Pattern Matching with Swaps problem the output is, for every text location i where there is a swapped match of P, the number of swaps necessary to create the swapped version that matches location i. The fastest known method to-date is that of counting mismatches and dividing by two. The time complexity of this method is O(nrootm log m) for a general alphabet Sigma. In this paper we show an algorithm that counts the number of swaps at every location where there is a swapped matching in time O (n log m log sigma), where sigma = min(m, \Sigma\). Consequently, the total time for solving the approximate pattern matching with swaps problem is O(f (n, m) + n log m log sigma), where f (n, in) is the time necessary for solving the Pattern Matching with Swaps problem. Since f (n, in) was shown to be O(n log m log a) this means our algorithm's running time is O(n log m log Q). (C) 2001 Elsevier Science B.V. All rights reserved.
In this paper, to find all maximal cliques of a trapezoid graph a set of intervals have been constructed by projecting the geometrical representation of the graph on the bottom line. The proposed algorithm for this pu...
详细信息
In this paper, to find all maximal cliques of a trapezoid graph a set of intervals have been constructed by projecting the geometrical representation of the graph on the bottom line. The proposed algorithm for this purpose takes O(n(2) +gamman ) time, where n is the number of vertices of the graph and gamma is the output size.
A popular way to describe and build the DAWG or Directed Acyclic Word Graph of a string is by transformation of the corresponding subword tree. This transformation, which is not difficult to reverse, is easy to grasp ...
详细信息
A popular way to describe and build the DAWG or Directed Acyclic Word Graph of a string is by transformation of the corresponding subword tree. This transformation, which is not difficult to reverse, is easy to grasp and almost trivial to implement except for the assumed implication of a standard tree isomorphism algorithm. Here we point out a simple property of subword trees that makes checking tree isomorphism in this context a straightforward process, thereby simplifying the transformation significantly. Subword trees and DAWGs arise rather ubiquitously in applications of string processing, where they often play complementary roles. Efficient conversions are thus especially desirable. (C) 2001 Elsevier Science B.V. All rights reserved.
Chordal bipartite graphs axe introduced to analyze non-symmetric matrices, and form a large class of perfect graphs. There are several problems, which can be solved efficiently on the class using the characterization ...
详细信息
ISBN:
(纸本)3540438645
Chordal bipartite graphs axe introduced to analyze non-symmetric matrices, and form a large class of perfect graphs. There are several problems, which can be solved efficiently on the class using the characterization by the doubly lexical ordering of the bipartite adjacency matrix. However, the best known algorithm for computing the ordering runs in O(min{m log n,n(2)}), which is the bottleneck of the problems. We show a linear time algorithm that computes the ordering of a given chordal bipartite graph. The result improves the upper bounds of several problems, including recognition problem, from O(min{m log n, n(2)}) to linear time. Strongly chordal graphs are well-studied subclass of chordal graphs, and that have similar characterization. The upper bounds of several problems on a given strongly chordal graph are also improved from O(min {m log n, n(2)}) to linear time.
The Common Substring Alignment Problem is defined as follows: Given a set of one or more strings S-1, S-2. . . S-c and a target string T, Y is a common substring of all strings S-i that is, S-i = BiYFi. The goal is to...
详细信息
The Common Substring Alignment Problem is defined as follows: Given a set of one or more strings S-1, S-2. . . S-c and a target string T, Y is a common substring of all strings S-i that is, S-i = BiYFi. The goal is to compute the similarity of all strings S-i with T, without computing the part of Y again and again. Using the classical dynamic programming tables, each appearance of Yin a source string would require the computation of all the values in a dynamic programming table of size O(nl) where l is the size of Y. Here we describe an algorithm which is composed of an encoding stage and an alignment stage. During the first stage:, a data structure is constructed which encodes the: comparison of Y with T. Then, during the alignment stage, for each comparison of a source S-i with T, the precompiled data structure is used to speed up the part of Y. We show how to reduce the O(nl) alignment work, for each appearance of the common substring Y in a source string, to O(n)-at the cost of O(nl) encoding work, which is executed only once. (C) 2001 Elsevier Science.
A matching in a graph is a set of edges no two of which share a common vertex. In this paper we introduce a new, specialized type of matching which we call uniquely restricted matchings, originally motivated by the pr...
详细信息
A matching in a graph is a set of edges no two of which share a common vertex. In this paper we introduce a new, specialized type of matching which we call uniquely restricted matchings, originally motivated by the problem of determining a lower bound on the rank of a matrix having a specified zero/non-zero pattern. A uniquely restricted matching is defined to be a matching M whose saturated vertices induce a subgraph which has only one perfect matching, namely M itself. We introduce the two problems of recognizing a uniquely restricted matching and of finding a maximum uniquely restricted matching in a given graph, and present algorithms and complexity results for certain special classes of graphs. We demonstrate that testing whether a given matching M is uniquely restricted can be done in O (\M\\E\) time for an arbitrary graph G = (V, E) and in linear time for cacti, interval graphs, bipartite graphs, split graphs and threshold graphs. The maximum uniquely restricted matching problem is shown to be NP-complete for bipartite graphs, split graphs, and hence for chordal graphs and comparability graphs, but can be solved in linear time for threshold graphs, proper interval graphs, cacti and block graphs.
A new bottom-up distance measure for labeled trees, which is based on the largest common forest of the trees and has the threefold advantage of independence of particular edit costs, low complexity, and coverage of or...
详细信息
ISBN:
(纸本)0769511937
A new bottom-up distance measure for labeled trees, which is based on the largest common forest of the trees and has the threefold advantage of independence of particular edit costs, low complexity, and coverage of ordered and unordered trees, is introduced and related in this paper with other distance measures published in the literature. algorithms for computing the bottom-up distance in time linear in the number of nodes are given in full detail.
A matching in a graph is a set of edges no two of which share a common vertex. A matching M is an induced matching if no edge connects two edges of M. The problem of finding a maximum induced matching is known to be N...
详细信息
A matching in a graph is a set of edges no two of which share a common vertex. A matching M is an induced matching if no edge connects two edges of M. The problem of finding a maximum induced matching is known to be NP-Complete in general-and specifically for bipartite graphs and for 3-regular planar graphs. The problem has been shown to be polynomial for several classes of graphs. In this paper we generalize the results to:wider classes of graphs, and improve the time complexity of previously known results. (C) 2000 Elsevier Science B.V. All rights reserved.
暂无评论