1,393 research outputs found

    Efficient LZ78 factorization of grammar compressed text

    Full text link
    We present an efficient algorithm for computing the LZ78 factorization of a text, where the text is represented as a straight line program (SLP), which is a context free grammar in the Chomsky normal form that generates a single string. Given an SLP of size nn representing a text SS of length NN, our algorithm computes the LZ78 factorization of TT in O(nN+mlogN)O(n\sqrt{N}+m\log N) time and O(nN+m)O(n\sqrt{N}+m) space, where mm is the number of resulting LZ78 factors. We also show how to improve the algorithm so that the nNn\sqrt{N} term in the time and space complexities becomes either nLnL, where LL is the length of the longest LZ78 factor, or (Nα)(N - \alpha) where α0\alpha \geq 0 is a quantity which depends on the amount of redundancy that the SLP captures with respect to substrings of SS of a certain length. Since m=O(N/logσN)m = O(N/\log_\sigma N) where σ\sigma is the alphabet size, the latter is asymptotically at least as fast as a linear time algorithm which runs on the uncompressed string when σ\sigma is constant, and can be more efficient when the text is compressible, i.e. when mm and nn are small.Comment: SPIRE 201

    Impact of social ties on self reported health in France: Is everyone affected equally?

    Get PDF
    <p>Abstract</p> <p>Aim</p> <p>To examine the association of social ties and income with self reported health, in order to investigate if social ties have a greater impact on the health of people on low incomes compared to those financially better off.</p> <p>Methods</p> <p>A nationally representative cross-sectional study of 5205 French adults using data from questionnaires which asked about health, income and relationships with family and friends etc.</p> <p>Results</p> <p>Less than good self-rated health (SRH) is twice as frequently reported by people in the lowest income group than those in the highest income group. People with low incomes are also more likely to have felt alone on the previous day, received no phone call during the last week, have no friends, not be a member of a club, and to live alone. Socially isolated people report lower SRH. Likelihood ratio tests for interaction vs. main effect models were statistically significant for 2 of the measures of social ties, borderline for 2 others and non-significant for one. For 4 of the 5 indicators of social ties, larger odd ratios show that social isolation is more strongly associated with less than good SRH among people on low incomes compared to those with a higher income.</p> <p>Conclusion</p> <p>Social isolation is associated with 'less than good' self-rated health. This effect appears to be more important for people on a low income.</p

    Emotional support, education and self-rated health in 22 European countries

    Get PDF
    <p>Abstract</p> <p>Background</p> <p>The analyses focus on three aims: (1) to explore the associations between education and emotional support in 22 European countries, (2) to explore the associations between emotional support and self-rated health in the European countries, and (3) to analyse whether the association between education and self-rated health can be partly explained by emotional support.</p> <p>Methods</p> <p>The study uses data from the European Social Survey 2003. Probability sampling from all private residents aged 15 years and older was applied in all countries. The European Social Survey includes 42,359 cases. Persons under age 25 were excluded to minimise the number of respondents whose education was not complete. Education was coded according to the International Standard Classification of Education. Perceived emotional support was assessed by the availability of a confidant with whom one can discuss intimate and personal matters with. Self-rated health was used as health indicator.</p> <p>Results</p> <p>Results of multiple logistic regression analyses show that emotional support is positively associated with education among women and men in most European countries. However, the magnitude of the association varies according to country and gender. Emotional support is positively associated with self-rated health. Again, gender and country differences in the association were observed. Emotional support explains little of the educational differences in self-rated health among women and men in most European countries.</p> <p>Conclusion</p> <p>Results indicate that it is important to consider socio-economic factors like education and country-specific contexts in studies on health effects of emotional support.</p

    Cytomolecular identification of individual wheat-wheat chromosome arm associations in wheat-rye hybrids

    Get PDF
    Chromosome pairing in the meiotic metaphase I of wheatrye hybrids has been characterized by sequential genomic and fluorescent in situ hybridization allowing not only the discrimination of wheat and rye chromosomes, but also the identification of the individual wheat and rye chromosome arms involved in the chromosome associations. The majority of associations (93.8%) were observed between the wheat chromosomes. The largest number of wheat-wheat chromosome associations (53%) was detected between the A and D genomes, while the frequency of B-D and A-B associations was significantly lower (32 and 8%, respectively). Among the A-D chromosome associations, pairing between the 3AL and 3DL arms was observed with the highest frequency, while the most frequent of all the chromosome associations (0.113/ cell) was found to be the 3DS-3BS. Differences in the pairing frequency of the individual chromosome arms of wheat-rye hybrids have been discussed in relation to the homoeologous relationships between the constituent genomes of hexaploid wheat
    corecore