57 resultados para Java Persistence API
Resumo:
Since its introduction in 1993, the Message Passing Interface (MPI) has become a de facto standard for writing High Performance Computing (HPC) applications on clusters and Massively Parallel Processors (MPPs). The recent emergence of multi-core processor systems presents a new challenge for established parallel programming paradigms, including those based on MPI. This paper presents a new Java messaging system called MPJ Express. Using this system, we exploit multiple levels of parallelism - messaging and threading - to improve application performance on multi-core processors. We refer to our approach as nested parallelism. This MPI-like Java library can support nested parallelism by using Java or Java OpenMP (JOMP) threads within an MPJ Express process. Practicality of this approach is assessed by porting to Java a massively parallel structure formation code from Cosmology called Gadget-2. We introduce nested parallelism in the Java version of the simulation code and report good speed-ups. To the best of our knowledge it is the first time this kind of hybrid parallelism is demonstrated in a high performance Java application. (C) 2009 Elsevier Inc. All rights reserved.
Resumo:
In the 1990s the Message Passing Interface Forum defined MPI bindings for Fortran, C, and C++. With the success of MPI these relatively conservative languages have continued to dominate in the parallel computing community. There are compelling arguments in favour of more modern languages like Java. These include portability, better runtime error checking, modularity, and multi-threading. But these arguments have not converted many HPC programmers, perhaps due to the scarcity of full-scale scientific Java codes, and the lack of evidence for performance competitive with C or Fortran. This paper tries to redress this situation by porting two scientific applications to Java. Both of these applications are parallelized using our thread-safe Java messaging system—MPJ Express. The first application is the Gadget-2 code, which is a massively parallel structure formation code for cosmological simulations. The second application uses the finite-domain time-difference method for simulations in the area of computational electromagnetics. We evaluate and compare the performance of the Java and C versions of these two scientific applications, and demonstrate that the Java codes can achieve performance comparable with legacy applications written in conventional HPC languages. Copyright © 2009 John Wiley & Sons, Ltd.
Experimental comparison of the comprehensibility of a Z specification and its implementation in Java
Resumo:
Comprehensibility is often raised as a problem with formal notations, yet formal methods practitioners dispute this. In a survey, one interviewee said 'formal specifications are no more difficult to understand than code'. Measurement of comprehension is necessarily comparative and a useful comparison for a specification is against its implementation. Practitioners have an intuitive feel for the comprehension of code. A quantified comparison will transfer this feeling to formal specifications. We performed an experiment to compare the comprehension of a Z specification with that of its implementation in Java. The results indicate there is little difference in comprehensibility between the two. (C) 2004 Elsevier B.V. All rights reserved.
Resumo:
1. Reductions in resource availability, associated with land-use change and agricultural intensification in the UK and Europe, have been linked with the widespread decline of many farmland bird species over recent decades. However, the underlying ecological processes which link resource availability and population trends are poorly understood. 2. We construct a spatial depletion model to investigate the relationship between the population persistence of granivorous birds within the agricultural landscape and the temporal dynamics of stubble field availability, an important source of winter food for many of those species. 3. The model is capable of accurately predicting the distribution of a given number of finches and buntings amongst patches of different stubble types in an agricultural landscape over the course of a winter and assessing the relative value of different landscapes in terms of resource availability. 4. Sensitivity analyses showed that the model is relatively robust to estimates of energetic requirements, search efficiency and handling time but that daily seed survival estimates have a strong influence on model fit. Understanding resource dynamics in agricultural landscapes is highlighted as a key area for further research. 5. There was a positive relationship between the predicted number of bird days supported by a landscape over-winter and the breeding population trend for yellowhammer Emberiza citrinella, a species for which survival has been identified as the primary driver of population dynamics, but not for linnet Carduelis cannabina, a species for which productivity has been identified as the primary driver of population dynamics. 6. Synthesis and applications. We believe this model can be used to guide the effective delivery of over-winter food resources under agri-environment schemes and to assess the impacts on granivorous birds of changing resource availability associated with novel changes in land use. This could be very important in the future as farming adapts to an increasingly dynamic trading environment, in which demands for increased agricultural production must be reconciled with objectives for environmental protection, including biodiversity conservation.
Resumo:
The ability to display and inspect powder diffraction data quickly and efficiently is a central part of the data analysis process. Whilst many computer programs are capable of displaying powder data, their focus is typically on advanced operations such as structure solution or Rietveld refinement. This article describes a lightweight software package, Jpowder, whose focus is fast and convenient visualization and comparison of powder data sets in a variety of formats from computers with network access. Jpowder is written in Java and uses its associated Web Start technology to allow ‘single-click deployment’ from a web page, http://www.jpowder.org. Jpowder is open source, free and available for use by anyone.
Resumo:
BACKGROUND: Herpes zoster is caused by the reactivation of varicella-zoster virus from sensory neurons. The commonest complication following zoster is chronic pain termed post herpetic neuralgia. OBJECTIVES: To investigate the dynamics of VZV viraemia and viral load following the resolution of zoster and its relationship to PHN development. STUDY DESIGN: Blood samples were collected at baseline, 1 month, 3 months and 6 month from a prospective study of 63 patients with active zoster. Quantification of VZV DNA in whole blood was performed using a real-time PCR assay. RESULTS: During acute zoster, all patients had detectable VZV DNA in their blood. VZV DNA remained detectable in the blood of 91% of patients at 6 months although levels declined significantly (p<0.0001). A history of prodromal symptoms (p=0.005) and severity of pain at baseline (p=0.038) as well as taking antivirals (p=0.046) and being immunocompromised (p=0.043) were associated, with longer time to recovery from PHN. Viral DNA loads were consistently higher in patients with risk factors for PHN and higher viral DNA loads over time were associated with longer time to recovery (p=0.058 overall and 0.038 in immunocompetent). CONCLUSIONS: Based on these observations we hypothesise that VZV replication persists following acute shingles and that higher viral DNA loads contribute to the risk factors for PHN.
Resumo:
This paper examines the short and long-term persistence of tax-exempt real estate funds in the UK through the use of winner-loser contingency table methodology. The persistence tests are applied to a database of varying numbers of funds from a low of 16 to a high of 27 using quarterly returns over the 12 years from 1990 Q1 to 2001 Q4. The overall conclusion is that the real estate funds in the UK show little evidence of persistence in the short-term (quarterly and semi-annual data) or for data over a considerable length of time (bi-annual to six yearly intervals). In contrast, the results are better for annual data with evidence of significant performance persistence. Thus at this stage, it seems that an annual evaluation period, provides the best discrimination of the winner and loser phenomenon in the real estate market. This result is different from equity and bond studies, where it seems that the repeat winner phenomenon is stronger over shorter periods of evaluation. These results require careful interpretation, however, as the results show that when only small samples are used significant adjustments must be made to correct for small sample bias and second the conclusions are sensitive to the length of the evaluation period and specific test used. Nonetheless, it seems that persistence in performance of real estate funds in the UK does exist, at least for the annual data, and it appears to be a guide to beating the pack in the long run. Furthermore, although the evidence of persistence in performance for the overall sample of funds is limited, we have found evidence that two funds were consistent winners over this period, whereas no one fund could be said to be a consistent loser.
Resumo:
Persistence of property returns is a topic of perennial interest to fund managers as it suggests that choosing those properties that will perform well in the future is as simple as looking at those that performed well in the past. Consequently, much effort has been expended to determine if such a rule exists in the real estate market. This paper extends earlier studies in US, Australian, and UK markets in two ways. First, this study applies the same methodology originally used in Young and Graff (1996) making the results directly comparable with those in the US and Australian property markets. Second, this study uses a much longer and larger database covering all commercial property data available from the Investment Property Databank (IPD), for the years 1981 to 2002 for as many as 216,758 individual property returns. While the performance results of this study mimic the US and Australian results of greater persistence in the extreme first and fourth quartiles, they also evidence persistence in the moderate second and third quartiles, a notable departure from previous studies. Likewise patterns across property type, location, time, and holding period are remarkably similar leading to the conjecture that behaviors in the practice of commercial real estate investment management are themselves deeply rooted and persistent and perhaps influenced for good or ill by agency effects
Resumo:
This article examines the characteristics of key measures of volatility for different types of futures contracts to provide a better foundation for modeling volatility behavior and derivative values. Particular attention is focused on analyzing how different measures of volatility affect volatility persistence relationships. Intraday realized measures of volatility are found to be more persistent than daily measures, the type of GARCH procedure used for conditional volatility analysis is critical, and realized volatility persistence is not coherent with conditional volatility persistence. Specifically, although there is a good fit between the realized and conditional volatilities, no coherence exists between their degrees of persistence, a counterintuitive finding that shows realized and conditional volatility measures are not a substitute for one another
Resumo:
The recent low and prolonged minimum of the solar cycle, along with the slow growth in activity of the new cycle, has led to suggestions that the Sun is entering a Grand Solar Minimum (GSMi), potentially as deep as the Maunder Minimum (MM). This raises questions about the persistence and predictability of solar activity. We study the autocorrelation functions and predictability R^2_L(t) of solar indices, particularly group sunspot number R_G and heliospheric modulation potential phi for which we have data during the descent into the MM. For R_G and phi, R^2_L (t) > 0.5 for times into the future of t = 4 and 3 solar cycles, respectively: sufficient to allow prediction of a GSMi onset. The lower predictability of sunspot number R_Z is discussed. The current declines in peak and mean R_G are the largest since the onset of the MM and exceed those around 1800 which failed to initiate a GSMi.
Resumo:
Background: The effects of landscape modifications on the long-term persistence of wild animal populations is of crucial importance to wildlife managers and conservation biologists, but obtaining experimental evidence using real landscapes is usually impossible. To circumvent this problem we used individual-based models (IBMs) of interacting animals in experimental modifications of a real Danish landscape. The models incorporate as much as possible of the behaviour and ecology of four species with contrasting life-history characteristics: skylark (Alauda arvensis), vole (Microtus agrestis), a ground beetle (Bembidion lampros) and a linyphiid spider (Erigone atra). This allows us to quantify the population implications of experimental modifications of landscape configuration and composition. Methodology/Principal Findings: Starting with a real agricultural landscape, we progressively reduced landscape complexity by (i) homogenizing habitat patch shapes, (ii) randomizing the locations of the patches, and (iii) randomizing the size of the patches. The first two steps increased landscape fragmentation. We assessed the effects of these manipulations on the long-term persistence of animal populations by measuring equilibrium population sizes and time to recovery after disturbance. Patch rearrangement and the presence of corridors had a large effect on the population dynamics of species whose local success depends on the surrounding terrain. Landscape modifications that reduced population sizes increased recovery times in the short-dispersing species, making small populations vulnerable to increasing disturbance. The species that were most strongly affected by large disturbances fluctuated little in population sizes in years when no perturbations took place. Significance: Traditional approaches to the management and conservation of populations use either classical methods of population analysis, which fail to adequately account for the spatial configurations of landscapes, or landscape ecology, which accounts for landscape structure but has difficulty predicting the dynamics of populations living in them. Here we show how realistic and replicable individual-based models can bridge the gap between non-spatial population theory and non-dynamic landscape ecology. A major strength of the approach is its ability to identify population vulnerabilities not detected by standard population viability analyses.
Resumo:
This paper investigates the degree of return volatility persistence and the time-varying behaviour of systematic risk (beta) for 31 market segments in the UK real estate market. The findings suggest that different property types exhibit differences in volatility persistence and time variability. There is also evidence that the volatility persistence of each market segment and its systematic risk are significantly positively related. Thus, the systematic risks of different property types tend to move in different directions during periods of increased market volatility. Finally, the market segments with systematic risks less than one tend to show negative time variability, while market segments with systematic risk greater than one generally show positive time variability, indicating a positive relationship between the volatility of the market and the systematic risk of individual market segments. Consequently safer and riskier market segments are affected differently by increases in market volatility.
Resumo:
The persistence of investment performance is a topic of perennial interest to investors. Efficient Markets theory tells us that past performance can not be used to predict future performance yet investors appear to be influenced by the historical performance in making their investment allocation decisions. The problem has been of particular interest to investors in real estate; not least because reported returns from investment in real estate are serially correlated thus implying some persistence in investment performance. This paper applies the established approach of Markov Chain analysis to investigate the relationship between past and present performance of UK real estate over the period 1981 to 1996. The data are analysed by sector, region and size. Furthermore some variations in investment performance classification are reported and the results are shown to be robust.
Resumo:
The aim of this study was to evaluate the ability of an Escherichia coli with the multiple antibiotic resistance (MAR) phenotype to withstand the stresses of slaughter compared to an isogenic progenitor strain. A wild type E. coli isolate (345-2RifC) of porcine origin was used to derive 3 isogenic MAR mutants. Escherichia coli 345-2RifC and its MAR derivatives were inoculated into separate groups of pigs. Once colonisation was established, the pigs were slaughtered and persistence of the E. coli strains in the abattoir environment and on the pig carcasses was monitored and compared. No significant difference (P>0.05) was detected between the shedding of the different E. coli strains from the live pigs. Both the parent strain and its MAR derivatives persisted in the abattoir environment, however the parent strain was recovered from 6 of the 13 locations sampled while the MAR derivatives were recovered from 11 of 13 and the number of MAR E. coil recovered was 10-fold higher than the parent strain at half of the locations. The parent strain was not recovered from any of the 6 chilled carcasses whereas the MAR derivatives were recovered from 3 out of 5 (P<0.001). This study demonstrates that the expression of MAR in 345-2RifC increased its ability to survive the stresses of the slaughter and chilling processes. Therefore in E. coli, MAR can give a selective advantage, compared to non-MAR strains, for persistence on chilled carcasses thereby facilitating transit of these strains through the food chain. (C) 2010 Elsevier B.V. All rights reserved.
Resumo:
This paper is motivated to investigate the often neglected payoff to investments in the health of girls and women in terms of next generation outcomes. This paper investigates the intergenerational persistence of health across time and region as well as across the distribution of maternal health. It uses comparable microdata on as many as 2.24 million children born of about 0.6 million mothers in 38 developing countries in the 31 year period, 1970–2000. Mother's health is indicated by her height, BMI and anemia status. Child health is indicated by mortality risk and anthropometric failure. We find a positive relationship between maternal and child health across indicators and highlight non-linearities in these relationships. The results suggest that both contemporary and childhood health of the mother matter and that the benefits to the next generation are likely to be persistent. Averaging across the sample, persistence shows a considerable decline over time. Disaggregation shows that the decline is only significant in Latin America. Persistence has remained largely constant in Asia and has risen in Africa. The paper provides the first cross-country estimates of the intergenerational persistence in health and the first estimates of trends.