Search engine for discovering works of Art, research articles, and books related to Art and Culture
ShareThis
Javascript must be enabled to continue!

Off-line Parallel Exact String Searching

View through CrossRef
The string matching problem is defined as follows: given a string P0 ... Pm-1 called the pattern and a string T0 .. .Tn-1 called the text find all occurrences of the pattern in the text. The output of a string matching algorithm is a boolean array MATCH[0..n — 1] which contains a true value at each position where an occurrence of the pattern starts. Many sequential algorithms are known that solve this problem optimally, i.e., in a linear O(n) number of operations, most notable of which are the algorithms by Knuth, Morris and Pratt and by Boyer and Moore. In this chapter we limit ourselves to parallel algorithms. All algorithms considered in this chapter are for the parallel random access machine (PRAM) computation model. In the design of parallel algorithms for the various PRAM models, one tries to optimize two factors simultaneously: the number of processors used and the time required by the algorithm. The total number of operations performed, which is the time-processors product, is the measure of optimality. A parallel algorithm is called optimal if it needs the same number of operations as the fastest sequential algorithm. Hence, in the string matching problem, an algorithm is optimal if its time-processor product is linear in the length of the input strings. Apart from having an optimal algorithm the designer wishes the algorithm to be the fastest possible, where the only limit on the number of processors is the one caused by the time-processor product. The following fundamental lemma given by Brent is essential for understanding the tradeoff between time and processors : Any PRAM algoriihm of time t that consists of x elementary operations can be implemented on p processors in O(x/p + t) time. Using Brent’s lemma, any algorithm that uses a large number x of processors to run very fast can be implemented on p < x processors, with the same total work, however with an increase in time as described. A basic problem in the study of parallel algorithms for strings and arrays is finding the maximal/minimal position in an array that holds a certain value.
Title: Off-line Parallel Exact String Searching
Description:
The string matching problem is defined as follows: given a string P0 .
Pm-1 called the pattern and a string T0 .
.
Tn-1 called the text find all occurrences of the pattern in the text.
The output of a string matching algorithm is a boolean array MATCH[0.
n — 1] which contains a true value at each position where an occurrence of the pattern starts.
Many sequential algorithms are known that solve this problem optimally, i.
e.
, in a linear O(n) number of operations, most notable of which are the algorithms by Knuth, Morris and Pratt and by Boyer and Moore.
In this chapter we limit ourselves to parallel algorithms.
All algorithms considered in this chapter are for the parallel random access machine (PRAM) computation model.
In the design of parallel algorithms for the various PRAM models, one tries to optimize two factors simultaneously: the number of processors used and the time required by the algorithm.
The total number of operations performed, which is the time-processors product, is the measure of optimality.
A parallel algorithm is called optimal if it needs the same number of operations as the fastest sequential algorithm.
Hence, in the string matching problem, an algorithm is optimal if its time-processor product is linear in the length of the input strings.
Apart from having an optimal algorithm the designer wishes the algorithm to be the fastest possible, where the only limit on the number of processors is the one caused by the time-processor product.
The following fundamental lemma given by Brent is essential for understanding the tradeoff between time and processors : Any PRAM algoriihm of time t that consists of x elementary operations can be implemented on p processors in O(x/p + t) time.
Using Brent’s lemma, any algorithm that uses a large number x of processors to run very fast can be implemented on p < x processors, with the same total work, however with an increase in time as described.
A basic problem in the study of parallel algorithms for strings and arrays is finding the maximal/minimal position in an array that holds a certain value.

Related Results

Pelatihan Searching dan Drafting Paten Di Perguruan Tinggi Muhammadiyah Mataram
Pelatihan Searching dan Drafting Paten Di Perguruan Tinggi Muhammadiyah Mataram
Dalam pelaksanaan pengabdian ini kami memberikan pemahaman dan pelatihan akan searching dan drafting paten sesuai kebutuhan dari peserta. Untuk searching kami berikan dengan menunj...
Parameterized Strings: Algorithms and Applications
Parameterized Strings: Algorithms and Applications
The parameterized string (p-string), a generalization of the traditional string, is composed of constant and parameter symbols. A parameterized match (p-match) exists between two p...
Axial Excitation Tool String Modelling
Axial Excitation Tool String Modelling
Current types of axial excitation tool have been shown to produce beneficial results — in terms of load transfer to the bit, general reductions in string friction and reductions in...
18-3/4 in. FullBore Wellhead System
18-3/4 in. FullBore Wellhead System
Abstract This paper describes the development of full-bore wellheads, a new 18-3/4 in.15,000 psi W.P. system, from conception to field installation. The wellheadw...
A Tri-Character guided exact String-matching Algorithm for Efficient str detection In Forensic DNA Analysis
A Tri-Character guided exact String-matching Algorithm for Efficient str detection In Forensic DNA Analysis
The importance of string-matching algorithms in the world of modern DNA forensic technology cannot be over-stated. Short Tandem Repeats (STRs) play an important role in forensic DN...
Lateral Vibration Analysis of Oil Production Casing String in Deepwater Shallow Under Earthquake Excitations
Lateral Vibration Analysis of Oil Production Casing String in Deepwater Shallow Under Earthquake Excitations
Abstract The majority of deep-sea oil and gas exploration areas are located in seismic active zone, such as the South China Sea and Suez basin in Egypt. As casing st...
String Field Theory
String Field Theory
Abstract After more than 50 years from the Veneziano amplitude, the fundamental formulation of string theory (ST) remains elusive. On the one hand, there is the w...

Back to Top