594 research outputs found

    A sequential real-time refinement calculus

    Get PDF
    We present a comprehensive refinement calculus for the development of sequential, real-time programs from real-time specifications. A specification may include not only execution time limits, but also requirements on the behaviour of outputs over the duration of the execution of the program. The approach allows refinement steps that separate timing constraints and functional requirements. New rules are provided for handling timing constraints, but the refinement of components implementing functional requirements is essentially the same as in the standard refinement calculus. The product of the refinement process is a program in the target programming language extended with timing deadline directives. The extended language is a machine-independent, real-time programming language. To provide valid machine code for a particular model of machine, the machine code produced by a compiler must be analysed to guarantee that it meets the specified timing deadlines

    A Formal Semantics of the GraalVM Intermediate Representation

    Full text link
    The optimization phase of a compiler is responsible for transforming an intermediate representation (IR) of a program into a more efficient form. Modern optimizers, such as that used in the GraalVM compiler, use an IR consisting of a sophisticated graph data structure that combines data flow and control flow into the one structure. As part of a wider project on the verification of optimization passes of GraalVM, this paper describes a semantics for its IR within Isabelle/HOL. The semantics consists of a big-step operational semantics for data nodes (which are represented in a graph-based static single assignment (SSA) form) and a small-step operational semantics for handling control flow including heap-based reads and writes, exceptions, and method calls. We have proved a suite of canonicalization optimizations and conditional elimination optimizations with respect to the semantics.Comment: 16 pages, 8 figures, to be published to ATVA 202

    Jumble Java Byte Code to Measure the Effectiveness of Unit Tests

    Get PDF
    Jumble is a byte code level mutation testing tool for Java which inter-operates with JUnit. It has been designed to operate in an industrial setting with large projects. Heuristics have been included to speed the checking of mutations, for example, noting which test fails for each mutation and running this first in subsequent mutation checks. Significant effort has been put into ensuring that it can test code which uses custom class loading and reflection. This requires careful attention to class path handling and coexistence with foreign class-loaders. Jumble is currently used on a continuous basis within an agile programming environment with approximately 370,000 lines of Java code under source control. This checks out project code every fifteen minutes and runs an incremental set of unit tests and mutation tests for modified classes. Jumble is being made available as open source

    Automatic detection of pitching and throwing events in baseball with inertial measurement sensors

    Get PDF
    Purpose: Throwing loads are known to be closely related to injury risk. However, for logistic reasons, typically only pitchers have their throws counted, and then only during innings. Accordingly, all other throws made are not counted, so estimates of throws made by players may be inaccurately recorded and underreported. A potential solution to this is the use of wearable microtechnology to automatically detect, quantify, and report pitch counts in baseball. This study investigated the accuracy of detection of baseball pitching and throwing in both practice and competition using a commercially available wearable microtechnology unit. Methods: Seventeen elite youth baseball players (mean ± SD age 16.5 ± 0.8 y, height 184.1 ± 5.5 cm, mass 78.3 ± 7.7 kg) participated in this study. Participants performed pitching, fielding, and throwing during practice and competition while wearing a microtechnology unit. Sensitivity and specificity of a pitching and throwing algorithm were determined by comparing automatic measures (ie, microtechnology unit) with direct measures (ie, manually recorded pitching counts). Results: The pitching and throwing algorithm was sensitive during both practice (100%) and competition (100%). Specificity was poorer during both practice (79.8%) and competition (74.4%). Conclusions: These findings demonstrate that the microtechnology unit is sensitive to detect pitching and throwing events, but further development of the pitching algorithm is required to accurately and consistently quantify throwing loads using microtechnology

    Late Permian palynomorph assemblages from Ufimian and Kazanian type sequences in Russia, and comparison with Roadian and Wordian assemblages from the Canadian Arctic

    Get PDF
    Tentative biostratigraphic correlations, based on marine faunas, have been made by various workers between Ufimian and Kazanian sequences in their type areas in the Volga-Urals region of Russia and Roadian and Wordian sequences in their type area in Texas, United States. Unfortunately, palynological correlation between the Russian and United States sequences is not possible, due to lack of data from the latter. However, detailed palynological data are available from rocks of Roadian and Wordian age in the Canadian Arctic Archipelago, and therefore indirect correlations are possible. Palynomorph assemblages from the Canadian Arctic and other circumpolar areas, such as the southern Barents Sea and Greenland, are different from those of the Ufimian and Kazanian Russian sequences in their type areas. This is likely to be the result of variations in the parent flora in response to significant paleoclimatic differences. For example, the climate of the Volga-Urals region in Late Permian times was probably hot and arid, whereas that of the Canadian Arctic, Barents Sea, and Greenland was cooler and probably more humid

    The determinants of hotels' marketing managers' green marketing behaviour

    Get PDF
    Little is known about the factors underlying the pro-environmental behaviour of marketing managers. This paper explores the determinants of green marketing practices in the Red Sea hotel sector in Egypt. The research model assesses green marketing practices against the personal and organisational values of the marketing managers, together with a range of organisational and demographic variables expected to influence hotels' environmental behaviour. From a valid sample of 89 marketing managers responsible for 194 hotels, it was found that organisational contextual variables, and in particular targeting Western tourists, being affiliated to an international hotel chain and the marketers' own demographics, including age, academic subject studied and gender, were the best predictors of more proactive green marketing. Personal environmental values did not explain the pro-environmental behaviour of marketers, and the organisational environmental values that had explained part of their ethical behaviour had resulted from voluntarism rather than utilitarian or conformance-based values. Government policies also appeared to be ineffective determinants. The implications for green marketing practices are also discussed. © 2010 Taylor & Francis

    Effects of hyperlinks on navigation in virtual environments

    No full text
    Hyperlinks introduce discontinuities of movement to 3-D virtual environments (VEs). Nine independent attributes of hyperlinks are defined and their likely effects on navigation in VEs are discussed. Four experiments are described in which participants repeatedly navigated VEs that were either conventional (i.e. obeyed the laws of Euclidean space), or contained hyperlinks. Participants learned spatial knowledge slowly in both types of environment, echoing the findings of previous studies that used conventional VEs. The detrimental effects on participants' spatial knowledge of using hyperlinks for movement were reduced when a time-delay was introduced, but participants still developed less accurate knowledge than they did in the conventional VEs. Visual continuity had a greater influence on participants' rate of learning than continuity of movement, and participants were able to exploit hyperlinks that connected together disparate regions of a VE to reduce travel time

    A questionnaire to identify patellofemoral pain in the community: an exploration of measurement properties

    Get PDF
    Background Community-based studies of patellofemoral pain (PFP) need a questionnaire tool that discriminates between those with and those without the condition. To overcome these issues, we have designed a self-report questionnaire which aims to identify people with PFP in the community. Methods Study designs: comparative study and cross-sectional study. Study population: comparative study: PFP patients, soft-tissue injury patients and adults without knee problems. Cross-sectional study: adults attending a science festival. Intervention: comparative study participants completed the questionnaire at baseline and two weeks later. Cross-sectional study participants completed the questionnaire once. The optimal scoring system and threshold was explored using receiver operating characteristic curves, test-retest reliability using Cohen’s kappa and measurement error using Bland-Altman plots and standard error of measurement. Known-group validity was explored by comparing PFP prevalence between genders and age groups. Results Eighty-four participants were recruited to the comparative study. The receiver operating characteristic curves suggested limiting the questionnaire to the clinical features and knee pain map sections (AUC 0.97 95 % CI 0.94 to 1.00). This combination had high sensitivity and specificity (over 90 %). Measurement error was less than the mean difference between the groups. Test–retest reliability estimates suggest good agreement (N = 51, k = 0.74, 95 % CI 0.52–0.91). The cross-sectional study (N = 110) showed expected differences between genders and age groups but these were not statistically significant. Conclusion A shortened version of the questionnaire, based on clinical features and a knee pain map, has good measurement properties. Further work is needed to validate the questionnaire in community samples

    The changing of the guard: groupwork with people who have intellectual disabilities

    Get PDF
    This paper considers the impact of service systems on group activities. It describes an inter-professional groupwork project facilitated by a social worker and a community nurse. The project provided an emancipatory experience for a group of adults who had intellectual disabilities. The group was charged with the task of reviewing and updating the recruitment and interview processes used by a 'Learning Disability Partnership Board', when employing new support workers. The paper begins with a brief history of intellectual disability and provides a context to the underpinning philosophical belief that people should be encouraged and supported to inhabit valued social roles no matter what disability they may have. It then identifies the ways in which the sponsoring health, education and social care services impacted on the creation and development of a groupwork project. It might have been expected that the nature of the intellectual disability would have been the major influence on group process. However the paper reveals that organisational constraints had a significant impact on group functioning. Issues including, staffing budgets and transport contracts impacted on group process and function. The results of the project show how, with adequate support, people with intellectual disability can make important decisions that have long-reaching impacts on the services

    Systematic and Realistic Testing in Simulation of Control Code for Robots in Collaborative Human-Robot Interactions

    Get PDF
    © Springer International Publishing Switzerland 2016. Industries such as flexible manufacturing and home care will be transformed by the presence of robotic assistants. Assurance of safety and functional soundness for these robotic systems will require rigorous verification and validation. We propose testing in simulation using Coverage-Driven Verification (CDV) to guide the testing process in an automatic and systematic way. We use a two-tiered test generation approach, where abstract test sequences are computed first and then concretized (e.g., data and variables are instantiated), to reduce the complexity of the test generation problem. To demonstrate the effectiveness of our approach, we developed a testbench for robotic code, running in ROS-Gazebo, that implements an object handover as part of a humanrobot interaction (HRI) task. Tests are generated to stimulate the robot’s code in a realistic manner, through stimulating the human, environment, sensors, and actuators in simulation. We compare the merits of unconstrained, constrained and model-based test generation in achieving thorough exploration of the code under test, and interesting combinations of human-robot interactions. Our results show that CDV combined with systematic test generation achieves a very high degree of automation in simulation-based verification of control code for robots in HRI
    corecore