2,446 research outputs found
Generating natural language specifications from UML class diagrams
Early phases of software development are known to be problematic, difficult to manage and errors occurring during these phases are expensive to correct. Many systems have been developed to aid the transition from informal Natural Language requirements to semistructured or formal specifications. Furthermore, consistency checking is seen by many software engineers as the solution to reduce the number of errors occurring during the software development life cycle and allow early verification and validation of software systems. However, this is confined to the models developed during analysis and design and fails to include the early Natural Language requirements. This excludes proper user involvement and creates a gap between the original requirements and the updated and modified models and implementations of the system. To improve this process, we propose a system that generates Natural Language specifications from UML class diagrams. We first investigate the variation of the input language used in naming the components of a class diagram based on the study of a large number of examples from the literature and then develop rules for removing ambiguities in the subset of Natural Language used within UML. We use WordNet,a linguistic ontology, to disambiguate the lexical structures of the UML string names and generate semantically sound sentences. Our system is developed in Java and is tested on an independent though academic case study
The long and the short of it: long-styled florets are associated with higher outcrossing rate in Senecio vulgaris and result from delayed selfpollen germination
The research reported in this article was funded in part by the Natural Environment Research Council under grants: GR3/6203A - Male competition and outcrossing rate in a hermaphrodite plant. GR9/1782A – Genomic analysis of wild hybrid derivatives of Senecio squalidus x S. vulgaris using in situ hybridization.Background: It has been reported that some plants of the self-compatible species, Senecio vulgaris, produce capitula containing long-styled florets which fail to set seed when left to self-pollinate, although readily set seed when self-pollinated by hand. Aims: To determine if production of long-styled florets is associated with higher outcrossing rate in S. vulgaris, and whether long-styles occur in non-pollinated florets, whereas short-styles are present in self-pollinated florets. Methods: The frequency of long-styled florets was compared in the radiate and non-radiate variants of S. vulgaris, known to exhibit higher and lower outcrossing rates, respectively. In addition, style length was compared in emasculated florets that were either self-pollinated or left non-pollinated. Results: Long-styled florets were more frequent in the higher outcrossing radiate variant. Following emasculation, long styles occurred in non-pollinated florets, while short styles were present in self-pollinated florets. The two variants did not differ in style length within the non-pollinated or within the self-pollinated floret categories. Conclusions: A high frequency of long-styled florets is associated with higher outcrossing rate in S. vulgaris and results from delayed self-pollination and pollen germination on stigmas.Publisher PDFPublisher PDFPeer reviewe
A comparison of online versus offline gambling harm in Portuguese pathological gamblers: an empirical study
Over the past decade, gambling has become a very popular activity across Europe including the growth of Internet gambling. Portugal is one of the few European countries where little research has been carried out. Given the lack of studies, a Portuguese sample (N = 1,599) was surveyed concerning their online and offline gambling habits. More specifically, the aim of this study was to identify and compare from the total sample, online pathological gamblers (PGON) (n = 171) and offline pathological gamblers' (PGOF) (n = 171) characteristics, and eventual risk factors for the development of problem gambling. Results demonstrated that PGON had different profiles compared to PGOF, although there were also similarities. Situational characteristics were much more significant for PGON than PGOF (e.g., availability, accessibility, affordability), but PGOF had higher scores than PGON on factors concerning individual characteristics (e.g., intensity of feelings while gambling, depression, suicidal ideation, etc.). Findings also showed differences concerning attitudes toward responsible gambling measures. The fact that situational characteristics are more attractive to online gamblers confirms differences between PGON and PGOF and suggests that this preferred attractiveness may enhance problem gambling potential. Further research is needed to better understand the interaction between Internet situational characteristics and the individual characteristics of gamblers, as well as the profile of the growing population of gamblers that uses both online and offline modes to gamble
Do group 1 metal salts form deep eutectic solvents?
Mixtures of metal salts such as ZnCl2, AlCl3 and CrCl3·6H2O form eutectic mixtures with complexing agents, such as urea. The aim of this research was to see if alkali metal salts also formed eutectics in the same way. It is shown that only a limited number of sodium salts form homogeneous liquids at ambient temperatures and then only with glycerol. None of these mixtures showed eutectic behaviour but the liquids showed the physical properties similar to the group of mixtures classified as deep eutectic solvents. This study focussed on four sodium salts: NaBr, NaOAc, NaOAc·3H2O and Na2B4O7·10H2O. The ionic conductivity and viscosity of these salts with glycerol were studied, and it was found that unlike previous studies of quaternary ammonium salts with glycerol, where the salt decreased the viscosity, most of the sodium salts increased the viscosity. This suggests that sodium salts have a structure making effect on glycerol. This phenomenon is probably due to the high charge density of Na+, which coordinates to the glycerol. 1H and 23Na NMR diffusion and relaxation methods have been used to understand the molecular dynamics in the glycerol-salt mixtures, and probe the effect of water on some of these systems. The results reveal a complex dynamic behaviour of the different species within these liquids. Generally, the translational dynamics of the 1H species, probed by means of PFG NMR diffusion coefficients, is in line with the viscosity of these liquids. However, 1H and 23Na T1 relaxation measurements suggest that the Na-containing species also play a crucial role in the structure of the liquids.A. P. Abbott would like to thank the Royal Society for funding the work through the Brian Mercer Award. C. D’Agostino would like to acknowledge Wolfson College, Cambridge, for supporting his research activities. S. Davis thanks EPSRC for funding a PhD studentship.This is the author accepted manuscript. The final version is available from the Royal Society of Chemistry via http://dx.doi.org/10.1039/C6CP05880
Dual-polarized highly sensitive plasmonic sensor in the visible to near-IR spectrum
We propose and numerically characterize the optical characteristics of a novel photonic crystal fiber (PCF) based surface plasmon resonance (SPR) sensor in the visible to near infrared (500–2000 nm) region for refractive index (RI) sensing. The finite element method (FEM) is used to design and study the influence of different geometric parameters on the sensing performance of the sensor. The chemically stable plasmonic material gold (Au) is used to produce excitation between the core and plasmonic mode. On a pure silica (SiO2) substrate, a rectangular structured core is used to facilitate the coupling strength between the core and the surface plasmon polariton (SPP) mode and thus improves the sensing performance. By tuning the geometric parameters, simulation results show a maximum wavelength sensitivity of 58000 nm/RIU (Refractive Index Unit) for the x polarization and 62000 nm/RIU for the y polarization for analyte refractive indices ranging from 1.33 to 1.43. Moreover, we characterize the amplitude sensitivity of the sensor that shows a maximum sensitivity of 1415 RIU−1 and 1293 RIU−1 for the x and y polarizations, respectively. To our knowledge, this is the highest sensitivity for an SPR in published literature, and facilitates future development of sensors for accurate and precise analyte measurement. The sensor also attains a maximum figure of merit (FOM) of 1140 and fine RI resolution of 1.6 × 10−6. Owing to strong coupling strength, high sensitivity, high FOM and improved sensing resolution, the proposed sensor is suited for real-time, inexpensive and accurate detection of biomedical and biological analytes, biomolecules, and organic chemicals.This work is supported by Australian Research Council (grant no. DP170104984). We gratefully
acknowledge their support
Soil microbial responses to biochars varying in particle size, surface and pore properties
Biochars are known for their heterogeneity, especially in pore and surface structure associated with pyrolysis processes and sources of feedstocks. The surface area of biochar is likely to be an important determinant of the extent of soil microbial attachment, whereas the porous structure of biochar is expected to provide protection for soil microorganisms. Potential interactions between biochars from different sources and with different particle sizes were investigated in relation to soil microbial properties in a short-term incubation study. Three particle size (sieved) fractions (0.5–1.0, 1.0–2.0 and 2.0–4.0 mm) from three woody biochars produced from jarrah wood, jarrah and wandoo wood and Australian wattle branches, respectively, were incubated in soil at 25 °C for 56 d. Observation by scanning electron microscopy (SEM) and characterisation of pore and surface area showed that all three woody biochars provided potential habitats for soil microorganisms due to their high porosity and surface areas. The biochars were structurally heterogeneous, varying in porosity and surface structure both within and between the biochar sources. After the 56-d incubation, hyphal colonisation was observed on biochar surfaces and in larger biochar pores. Soil clumping occurred on biochar particles, cementing and covering exposed biochar pores. This may have altered surface area and pore availability for microbial colonisation. Transient changes in soil microbial biomass, without a consistent trend, were observed among biochars during the 56-d incubation
Edging your bets: advantage play, gambling, crime and victimisation
Consumerism, industrial development and regulatory liberalisation have underpinned the ascendance of gambling to a mainstream consumption practice. In particular, the online gambling environment has been marketed as a site of ‘safe risks’ where citizens can engage in a multitude of different forms of aleatory consumption. This paper offers a virtual ethnography of an online ‘advantage play’ subculture. It demonstrates how advantage players have reinterpreted the online gambling landscape as an environment saturated with crime and victimisation. In this virtual world, advantage play is no longer simply an instrumental act concerned with profit accumulation to finance consumer desires. Rather, it acts as an opportunity for individuals to engage in a unique form of edgework, whereby the threat to one’s well-being is tested through an ability to avoid crime and victimisation. This paper demonstrates how mediated environments may act as sites for edgeworking and how the potential for victimisation can be something that is actively engaged with
Radiation-pressure cooling and optomechanical instability of a micro-mirror
Recent experimental progress in table-top experiments or gravitational-wave
interferometers has enlightened the unique displacement sensitivity offered by
optical interferometry. As the mirrors move in response to radiation pressure,
higher power operation, though crucial for further sensitivity enhancement,
will however increase quantum effects of radiation pressure, or even jeopardize
the stable operation of the detuned cavities proposed for next-generation
interferometers. The appearance of such optomechanical instabilities is the
result of the nonlinear interplay between the motion of the mirrors and the
optical field dynamics. In a detuned cavity indeed, the displacements of the
mirror are coupled to intensity fluctuations, which modifies the effective
dynamics of the mirror. Such "optical spring" effects have already been
demonstrated on the mechanical damping of an electromagnetic waveguide with a
moving wall, on the resonance frequency of a specially designed flexure
oscillator, and through the optomechanical instability of a silica
micro-toroidal resonator. We present here an experiment where a
micro-mechanical resonator is used as a mirror in a very high-finesse optical
cavity and its displacements monitored with an unprecedented sensitivity. By
detuning the cavity, we have observed a drastic cooling of the micro-resonator
by intracavity radiation pressure, down to an effective temperature of 10 K. We
have also obtained an efficient heating for an opposite detuning, up to the
observation of a radiation-pressure induced instability of the resonator.
Further experimental progress and cryogenic operation may lead to the
experimental observation of the quantum ground state of a mechanical resonator,
either by passive or active cooling techniques
- …