440 research outputs found
Fast Searching in Packed Strings
Given strings and the (exact) string matching problem is to find all
positions of substrings in matching . The classical Knuth-Morris-Pratt
algorithm [SIAM J. Comput., 1977] solves the string matching problem in linear
time which is optimal if we can only read one character at the time. However,
most strings are stored in a computer in a packed representation with several
characters in a single word, giving us the opportunity to read multiple
characters simultaneously. In this paper we study the worst-case complexity of
string matching on strings given in packed representation. Let be
the lengths and , respectively, and let denote the size of the
alphabet. On a standard unit-cost word-RAM with logarithmic word size we
present an algorithm using time O\left(\frac{n}{\log_\sigma n} + m +
\occ\right). Here \occ is the number of occurrences of in . For this improves the bound of the Knuth-Morris-Pratt algorithm.
Furthermore, if our algorithm is optimal since any
algorithm must spend at least \Omega(\frac{(n+m)\log
\sigma}{\log n} + \occ) = \Omega(\frac{n}{\log_\sigma n} + \occ) time to
read the input and report all occurrences. The result is obtained by a novel
automaton construction based on the Knuth-Morris-Pratt algorithm combined with
a new compact representation of subautomata allowing an optimal
tabulation-based simulation.Comment: To appear in Journal of Discrete Algorithms. Special Issue on CPM
200
New Black Hole Solutions in Brans-Dicke Theory of Gravity
Existence check of non-trivial, stationary axisymmetric black hole solutions
in Brans-Dicke theory of gravity in different direction from those of Penrose,
Thorne and Dykla, and Hawking is performed. Namely, working directly with the
known explicit spacetime solutions in Brans-Dicke theory, it is found that
non-trivial Kerr-Newman-type black hole solutions different from general
relativistic solutions could occur for the generic Brans-Dicke parameter values
-5/2\leq \omega <-3/2. Finally, issues like whether these new black holes carry
scalar hair and can really arise in nature and if they can, what the associated
physical implications would be are discussed carefully.Comment: 20 pages, no figure, Revtex, version to appear in Phys. Rev.
A Planarity Test via Construction Sequences
Optimal linear-time algorithms for testing the planarity of a graph are
well-known for over 35 years. However, these algorithms are quite involved and
recent publications still try to give simpler linear-time tests. We give a
simple reduction from planarity testing to the problem of computing a certain
construction of a 3-connected graph. The approach is different from previous
planarity tests; as key concept, we maintain a planar embedding that is
3-connected at each point in time. The algorithm runs in linear time and
computes a planar embedding if the input graph is planar and a
Kuratowski-subdivision otherwise
Radiative corrections to the Casimir effect for the massive scalar field
We compute the correction to the Casimir energy for the massive
model confined between a pair of parallel plates. The
calculations are made with Dirichlet and Neumann boundary conditions. The
correction is shown to be sensitive to the boundary conditions, except in the
zero mass limit, in which case our results agree with those found in the
literature.Comment: 6 pages. Work presented at the XXIII Brazilian National Meeting on
Particles and Fields (Aguas de Lindoia, Brazil, 15-19 Oct 2002). Also
available at http://www.sbf1.if.usp.br/eventos/enfpc/xxiii/procs/RES142.pd
On a Testing Methodology for the Mechanical Property Assessment of a New Low-Cost Titanium Alloy Derived from Synthetic Rutile
Mechanical property data of a low-cost titanium alloy derived directly from synthetic rutile is reported. A small-scale testing approach comprising consolidation via field-assisted sintering technology, followed by axisymmetric compression testing, has been designed to yield mechanical property data from small quantities of titanium alloy powder. To validate this approach and provide a benchmark, Ti-6Al-4V powder has been processed using the same methodology and compared with material property data generated from thermo-physical simulation software. Compressive yield strength and strain to failure of the synthetic rutile-derived titanium alloy were revealed to be similar to that of Ti-6Al-4V
Efficient exact pattern-matching in proteomic sequences
This paper proposes a novel algorithm for complete exact pattern-matching focusing the specificities of protein sequences (alphabet of 20 symbols) but, also highly efficient considering larger alphabets. The searching strategy uses large search windows allowing multiple alignments per iteration. A new filtering heuristic, named compatibility rule, contributed decisively to the efficiency improvement. The new algorithmâs performance is, on average, superior in comparison with its best-rated competitors
Molecular dynamics simulation of the order-disorder phase transition in solid NaNO
We present molecular dynamics simulations of solid NaNO using pair
potentials with the rigid-ion model. The crystal potential surface is
calculated by using an \emph{a priori} method which integrates the \emph{ab
initio} calculations with the Gordon-Kim electron gas theory. This approach is
carefully examined by using different population analysis methods and comparing
the intermolecular interactions resulting from this approach with those from
the \emph{ab initio} Hartree-Fock calculations. Our numerics shows that the
ferroelectric-paraelectric phase transition in solid NaNO is triggered by
rotation of the nitrite ions around the crystallographical c axis, in agreement
with recent X-ray experiments [Gohda \textit{et al.}, Phys. Rev. B \textbf{63},
14101 (2000)]. The crystal-field effects on the nitrite ion are also addressed.
Remarkable internal charge-transfer effect is found.Comment: RevTeX 4.0, 11 figure
Performance of prototypes for the ALICE electromagnetic calorimeter
The performance of prototypes for the ALICE electromagnetic sampling
calorimeter has been studied in test beam measurements at FNAL and CERN. A
array of final design modules showed an energy resolution of about
11% / 1.7 % with a uniformity of the response
to electrons of 1% and a good linearity in the energy range from 10 to 100 GeV.
The electromagnetic shower position resolution was found to be described by 1.5
mm 5.3 mm /. For an electron identification
efficiency of 90% a hadron rejection factor of was obtained.Comment: 10 pages, 10 figure
Horizontal Branch Stars: The Interplay between Observations and Theory, and Insights into the Formation of the Galaxy
We review HB stars in a broad astrophysical context, including both variable
and non-variable stars. A reassessment of the Oosterhoff dichotomy is
presented, which provides unprecedented detail regarding its origin and
systematics. We show that the Oosterhoff dichotomy and the distribution of
globular clusters (GCs) in the HB morphology-metallicity plane both exclude,
with high statistical significance, the possibility that the Galactic halo may
have formed from the accretion of dwarf galaxies resembling present-day Milky
Way satellites such as Fornax, Sagittarius, and the LMC. A rediscussion of the
second-parameter problem is presented. A technique is proposed to estimate the
HB types of extragalactic GCs on the basis of integrated far-UV photometry. The
relationship between the absolute V magnitude of the HB at the RR Lyrae level
and metallicity, as obtained on the basis of trigonometric parallax
measurements for the star RR Lyrae, is also revisited, giving a distance
modulus to the LMC of (m-M)_0 = 18.44+/-0.11. RR Lyrae period change rates are
studied. Finally, the conductive opacities used in evolutionary calculations of
low-mass stars are investigated. [ABRIDGED]Comment: 56 pages, 22 figures. Invited review, to appear in Astrophysics and
Space Scienc
- âŠ