We consider the problems of (1) longest common subsequence (LCS) of two given strings in the case where the first may be shifted by some constant (that is, transposed) to match the second, and (2) transposition-invariant text searching using indel distance. These problems have applications in music comparison and retrieval. We introduce two novel techniques to solve these problems efficiently. The first is based on the branch and bound method, the second on bit-parallelism. Our branch and bound algorithm computes the longest common transposition-invariant subsequence (LCTS) in time O((m2+loglogσ)logσ) in the best case and O((m2+logσ)σ) in the worst case, where m and σ, respectively, are the length of the strings and the size of the alphabet. On the other hand, we show that the same problem can be solved by using bit-parallelism and thus obtain a speedup of O(w/logm) over the classical algorithms, where the computer word has w bits. The advantage of this latter algorithm over the present bit-parallel ones is that it allows the use of more complex distances, including general integer weights. Since our branch and bound method is very flexible, it can be further improved by combining it with other efficient algorithms such as our novel bit-parallel algorithm. We experiment on several combination possibilities and discuss which are the best settings for each of those combinations. Our algorithms are easily extended to other musically relevant cases, such as δ-matching and polyphony (where there are several parallel texts to be considered). We also show how our bit-parallel algorithm is adapted to text searching and illustrate its effectiveness in complex cases where the only known competing method is the use of brute force. 相似文献
The turn-on luminescent chemosensor [2-Hydroxy-1-naphthaldehyde-(2-pyridyl) hydrazone] (L), selective to Al3+ ions, was studied by means of density functional theory (DFT) and time-dependent-DFT quantum mechanics calculations. The UV-Vis absorption and the radiative channel from the adiabatic S1 excited state were assessed in order to elucidate the selective sensing mechanism of L to Al3+ ions. We found that twisted intramolecular charge transfer (TICT) and photoelectron transfer (PET), which alter the emissive state, are responsible for the luminescence quenching in L. After coordination with Al3+, the TICT is blocked, and PET is no longer possible. So, the emission of the coordination complex is activated, and a fluorescence effect enhanced by chelation is observed. For compounds with Zn2+ and Cd2+, the luminescence quenching is caused by PET, while for Ni2+, ligand to metal charge transfer is the prominent mechanism. To go into more detail, the metal-ligand interaction was analyzed via the Morokuma-Ziegler energy decomposition scheme and the natural orbital of chemical valence. 相似文献
Low‐power light upconversion is a highly desirable feature for a broad range of applications and new materials enabling this process are sought in both bulk and particulate form. Here, the preparation of upconverting nanoparticles is reported from a methacrylic terpolymer bearing diphenylanthracene and meso‐phenoxytris(heptyl)porphyrin pendant groups by a microemulsion technique. The use of a terpolymer in which the upconvering dye molecules are covalently attached mitigates some of the drawbacks of triplet–triplet annihilation upconverting nanoparticles made by other techniques, in particular dye leakage from the nanoparticles, and limited control of the sensitizer and emitter concentration within each nanoparticle. Size and morphology of the new upconverting nanoparticles are investigated by dynamic light scattering and transmission electron microscopy and elucidated their upconverting properties by luminescence spectroscopy.
(δ,γ)-matching is a string matching problem with applications to music retrieval. The goal is, given a pattern P1…m and a text T1…n on an alphabet of integers, find the occurrences P′ of the pattern in the text such that (i) , and (ii) . The problem makes sense for δγδm. Several techniques for (δ,γ)-matching have been proposed, based on bit-parallelism or on skipping characters. We first present an O(mnlog(γ)/w) worst-case time and O(n) average-case time bit-parallel algorithm (being w the number of bits in the computer word). It improves the previous O(mnlog(δm)/w) worst-case time algorithm of the same type. Second, we combine our bit-parallel algorithm with suffix automata to obtain the first algorithm that skips characters using both δ and γ. This algorithm examines less characters than any previous approach, as the others do just δ-matching and check the γ-condition on the candidates. We implemented our algorithms and drew experimental results on real music, showing that our algorithms are superior to current alternatives with high values of δ. 相似文献
A selection of bioactive polyphenols of different structural classes, such as the ellagitannins vescalagin and vescalin, the flavanoids catechin, epicatechin, epigallocatechin gallate (EGCG), and procyanidin B2, and the stilbenoids resveratrol and piceatannol, were chemically modified to bear a biotin unit for enabling their immobilization on streptavidin-coated sensor chips. These sensor chips were used to evaluate in real time by surface plasmon resonance (SPR) the interactions of three different surface-bound polyphenolic ligands per sensor chip with various protein analytes, including human DNA topoisomerase IIα, flavonoid leucoanthocyanidin dioxygenase, B-cell lymphoma 2 apoptosis regulator protein, and bovine serum albumin. The types and levels of SPR responses unveiled major differences in the association, or lack thereof, and dissociation between a given protein analyte and different polyphenolic ligands. Thus, this multi-analysis SPR technique is a valuable methodology to rapidly screen and qualitatively compare various polyphenol–protein interactions. 相似文献
A better understanding of polymer degradation and post-degradation processes are essential for the development of novel degradable polymers. Herein, we present the synthesis of a new aliphatic azo-containing polyurethane and its degradation behavior toward external stimuli like heat and UV light. A relatively stable radical forming azo-monomer present in the current polyurethane is readily undergoing thermal degradation, whereas the azo-group is less susceptible to optical degradation. A comparison of the stimuli-responsive properties of the new azo-polymer with a previously known, relatively active radical forming monomer incorporated azo-polymer reveals the dependencies of the monomer and radical stability in the controlled degradation process. Our results point toward the importance of radical activity in azo-containing polymers. 相似文献