3,544 research outputs found

    An integrated search-based approach for automatic testing from extended finite state machine (EFSM) models

    Get PDF
    This is the post-print version of the Article - Copyright @ 2011 ElsevierThe extended finite state machine (EFSM) is a modelling approach that has been used to represent a wide range of systems. When testing from an EFSM, it is normal to use a test criterion such as transition coverage. Such test criteria are often expressed in terms of transition paths (TPs) through an EFSM. Despite the popularity of EFSMs, testing from an EFSM is difficult for two main reasons: path feasibility and path input sequence generation. The path feasibility problem concerns generating paths that are feasible whereas the path input sequence generation problem is to find an input sequence that can traverse a feasible path. While search-based approaches have been used in test automation, there has been relatively little work that uses them when testing from an EFSM. In this paper, we propose an integrated search-based approach to automate testing from an EFSM. The approach has two phases, the aim of the first phase being to produce a feasible TP (FTP) while the second phase searches for an input sequence to trigger this TP. The first phase uses a Genetic Algorithm whose fitness function is a TP feasibility metric based on dataflow dependence. The second phase uses a Genetic Algorithm whose fitness function is based on a combination of a branch distance function and approach level. Experimental results using five EFSMs found the first phase to be effective in generating FTPs with a success rate of approximately 96.6%. Furthermore, the proposed input sequence generator could trigger all the generated feasible TPs (success rate = 100%). The results derived from the experiment demonstrate that the proposed approach is effective in automating testing from an EFSM

    A testability transformation approach for state-based programs

    Get PDF
    Search based testing approaches are efficient in test data generation; however they are likely to perform poorly when applied to programs with state variables. The problem arises when the target function includes guards that reference some of the program state variables whose values depend on previous function calls. Thus, merely considering the target function to derive test data is not sufficient. This paper introduces a testability transformation approach based on the analysis of control and data flow dependencies to bypass the state variable problem. It achieves this by eliminating state variables from guards and/ or determining which functions to call in order to satisfy guards with state variables. A number of experiments demonstrate the value of the proposed approach

    Search-based software engineering: A search-based approach for testing from extended finite state machine (EFSM) models

    Get PDF
    This thesis was submitted for the degree of Doctor of Philosophy and awarded by Brunel University.The extended finite state machine (EFSM) is a powerful modelling approach that has been applied to represent a wide range of systems. Despite its popularity, testing from an EFSM is a substantial problem for two main reasons: path feasibility and path test case generation. The path feasibility problem concerns generating transition paths through an EFSM that are feasible and satisfy a given test criterion. In an EFSM, guards and assignments in a path‟s transitions may cause some selected paths to be infeasible. The problem of path test case generation is to find a sequence of inputs that can exercise the transitions in a given feasible path. However, the transitions‟ guards and assignments in a given path can impose difficulties when producing such data making the range of acceptable inputs narrowed down to a possibly tiny range. While search-based approaches have proven efficient in automating aspects of testing, these have received little attention when testing from EFSMs. This thesis proposes an integrated search-based approach to automatically test from an EFSM. The proposed approach generates paths through an EFSM that are potentially feasible and satisfy a test criterion. Then, it generates test cases that can exercise the generated feasible paths. The approach is evaluated by being used to test from five EFSM cases studies. The achieved experimental results demonstrate the value of the proposed approach.Aleppo University, Syri

    Cyber security research frameworks for coevolutionary network defense

    Get PDF
    Cyber security is increasingly a challenge for organizations everywhere. Defense systems that require less expert knowledge and can adapt quickly to threats are strongly needed to combat the rise of cyber attacks. Computational intelligence techniques can be used to rapidly explore potential solutions while searching in a way that is unaffected by human bias. Several architectures have been created for developing and testing systems used in network security, but most are meant to provide a platform for running cyber security experiments as opposed to automating experiment processes. In the first paper, we propose a framework termed Distributed Cyber Security Automation Framework for Experiments (DCAFE) that enables experiment automation and control in a distributed environment. Predictive analysis of adversaries is another thorny issue in cyber security. Game theory can be used to mathematically analyze adversary models, but its scalability limitations restrict its use. Computational game theory allows us to scale classical game theory to larger, more complex systems. In the second paper, we propose a framework termed Coevolutionary Agent-based Network Defense Lightweight Event System (CANDLES) that can coevolve attacker and defender agent strategies and capabilities and evaluate potential solutions with a custom network defense simulation. The third paper is a continuation of the CANDLES project in which we rewrote key parts of the framework. Attackers and defenders have been redesigned to evolve pure strategy, and a new network security simulation is devised which specifies network architecture and adds a temporal aspect. We also add a hill climber algorithm to evaluate the search space and justify the use of a coevolutionary algorithm --Abstract, page iv

    A multiple expression alignment framework for genetic programming

    Get PDF
    Dissertation presented as the partial requirement for obtaining a Master's degree in Data Science and Advanced AnalyticsAlignment in the error space is a recent idea to exploit semantic awareness in genetic programming. In a previous contribution, the concepts of optimally aligned and optimally coplanar individuals were introduced, and it was shown that given optimally aligned, or optimally coplanar, individuals, it is possible to construct a globally optimal solution analytically. Consequently, genetic programming methods, aimed at searching for optimally aligned, or optimally coplanar, individuals were introduced. This paper critically discusses those methods, analyzing their major limitations and introduces a new genetic programming system aimed at overcoming those limitations. The presented experimental results, conducted on five real-life symbolic regression problems, show that the proposed algorithms’ outperform not only the existing methods based on the concept of alignment in the error space, but also geometric semantic genetic programming and standard genetic programming

    Evolving cell models for systems and synthetic biology

    Get PDF
    This paper proposes a new methodology for the automated design of cell models for systems and synthetic biology. Our modelling framework is based on P systems, a discrete, stochastic and modular formal modelling language. The automated design of biological models comprising the optimization of the model structure and its stochastic kinetic constants is performed using an evolutionary algorithm. The evolutionary algorithm evolves model structures by combining different modules taken from a predefined module library and then it fine-tunes the associated stochastic kinetic constants. We investigate four alternative objective functions for the fitness calculation within the evolutionary algorithm: (1) equally weighted sum method, (2) normalization method, (3) randomly weighted sum method, and (4) equally weighted product method. The effectiveness of the methodology is tested on four case studies of increasing complexity including negative and positive autoregulation as well as two gene networks implementing a pulse generator and a bandwidth detector. We provide a systematic analysis of the evolutionary algorithm’s results as well as of the resulting evolved cell models

    Investigating the Epidemiology of bovine Tuberculosis in the European Badger

    Get PDF
    Global health is becoming increasingly reliant on our understanding and management of wildlife disease. An estimated 60% of emerging infectious diseases in humans are zoonotic and with human-wildlife interactions set to increase as populations rise and we expand further into wild habitats there is pressure to seek modelling frameworks that enable a deeper understanding of natural systems. Survival and mortality are fundamental parameters of interest when investigating the impact of disease with far reaching implications for species conservation, management and control. Survival analysis has traditionally been dominated by non- and semi-parametric methods but these can sometimes miss subtle yet important dynamics. Survival and mortality trajectory analysis can alleviate some of these problems by fitting fully parametric functions that describe lifespan patterns of mortality and survival. In the first part of this thesis we investigate the use of survival and mortality trajectories in epidemiology and uncover novel patterns of age-, sex- and infection-specific mortality in a wild population of European badgers (Meles meles) naturally infected with Mycobacterium bovis, the causative agent of bovine tuberculosis (bTB). Limitations of dedicated software packages to conduct such analyses led us to investigate alternative methods to build models from first principles and we found the NIMBLE package to offer an attractive blend of flexibility and speed. We create a novel parameterisation of the Siler model to enable more flexible model specification but encounter the common problem of competing models having comparable fits to the data. Multi-model inference approaches can alleviate some of these issues but require efficient methods to carry out model comparisons; we present an approach based on the estimation of the marginal likelihood through importance sampling and demonstrate its application through a series of simulation- and case-studies. The approach works well for both census and capture-mark-recapture (CMR) data, both of which are common within ecological research, but we uncover challenges in recording and modelling early life mortality dynamics that occur as a result of the CMR sampling process. The final part of the thesis looks at another alternative approach for model comparison that doesn’t require direct estimation of the marginal likelihood, Reversible Jump Markov Chain Monte Carlo (RJMCMC), which is particularly efficient when models to be compared are nested and the problem can reduce to one of variable selection. In the final chapter we carry out an investigation of age-, sex-, infection- and inbreeding-specific variation in survival and mortality in a wild population of European badgers naturally infected with bovine Tuberculosis. Using the methods and knowledge presented through the earlier chapters of this thesis we uncover patterns of mortality consistent with both the mutation accumulation and antagonistic pleiotropy theories of senescence but most interestingly uncover antagonistic pleiotropic effects of inbreeding on age-specific mortality in a wild population for the first time. This thesis provides a number of straightforward approaches to Bayesian survival analysis that are widely applicable to ecological research and can offer greater insight and uncover subtle patterns of survival and mortality that traditional methods can overlook. Our investigation into the epidemiology of bovine Tuberculosis and in particular the effects of inbreeding have far-reaching implications for the control of this disease. This research can also inform future conservation efforts and management strategies as all species are likely to be at increasing risk of inbreeding in an age of dramatic global change, rapid habitat loss and isolation
    corecore