879 research outputs found

    Time domain simulations of dynamic river networks

    Get PDF
    The problem of simulating a river network is considered. A river network is considered to comprise of rivers, dams/lakes as well as weirs. We suggest a numerical approach with specific features that enable the correct representation of these assets. For each river the flow of water is described by the shallow water equations which is a system of hyperbolic partial differential equations and at the junctions of the rivers, suitable coupling conditions, viewed as interior boundary conditions are used to couple the dynamics. A different model for the dams is also presented. Numerical test cases are presented which show that the model is able to reproduce the expected dynamics of the system. Other aspects of the modelling such as rainfall, run-off, overflow/flooding, evaporation, absorption/seepage, bed-slopes, bed friction have not been incorporated in the model due to their specific nature

    Analyzing logic programs with dynamic scheduling

    Get PDF
    Traditional logic programming languages, such as Prolog, use a fixed left-to-right atom scheduling rule. Recent logic programming languages, however, usually provide more flexible scheduling in which computation generally proceeds leftto- right but in which some calis are dynamically "delayed" until their arguments are sufRciently instantiated to allow the cali to run efficiently. Such dynamic scheduling has a significant cost. We give a framework for the global analysis of logic programming languages with dynamic scheduling and show that program analysis based on this framework supports optimizations which remove much of the overhead of dynamic scheduling

    Independence in constraint logic programs

    Full text link
    Studying independence of literals, variables, and substitutions has proven very useful in the context of logic programming (LP). Here we study independence in the broader context of constraint logic programming (CLP). We show that a naive extrapolation of the LP definitions of independence to CLP is unsatisfactory (in fact, wrong) for two reasons. First, because interaction between variables through constraints is more complex than in the case of logic programming. Second, in order to ensure the efUciency of several optimizations not only must independence of the search space be considered, but also an orthogonal issue - "independence of constraint solving." We clarify these issues by proposing various types of search independence and constraint solver independence, and show how they can be combined to allow different independence-related optimizations, from parallelism to intelligent backtracking. Sufficient conditions for independence which can be evaluated "a-priori" at run-time are also proposed. Our results suggest that independence, provided a suitable definition is chosen, is even more useful in CLP than in LP

    The Impact of Decentralization Policy on the Performance of Colleges of Education in Zambia: The Case of Kitwe, Mufulira and Copperbelt College of Education

    Get PDF
    The purpose of this study was to investigate the impact of decentralization on the performance of public Colleges of Education after the introduction of decentralization policy. The study was conducted on three colleges of education, namely; Kitwe College of Education (KICE), Mufulira College of Education (MUCE) and Copperbelt College of Education (CBCE), now Mukuba University. The three selected institutions are all public teacher training institutions located on the Copperbelt Province of Zambia. The sample consisted of thirty (30) respondents, comprising academic staff and administrators. Ten (10) participants were drawn from each college. In order to evaluate the impact of decentralization on the performance of public colleges of Education, the researcher decided to use some performance variables (indicators) of decentralization; quality assurance, efficiency and effectiveness, service delivery, transparency and accountability, responsiveness and staff motivation to guide the study in the investigation of the topic at hand. The methods used to collect data for this study were questionnaires, unstructured interviews and desk research. The research design used for this study was a mixed survey method. Data obtained were analyzed using simple statistics, and the Pearson’s correlation model. The findings of the study were that colleges of educations had failed to take advantage of the decentralization policy as they have continued to depend for instructions and other important things from government. The performance variables showed that nothing significant has taken place in the three sampled public Colleges of Education. Despite this general picture however, the results from individual institution showed significant contrasts among the three institutions sampled on each of the performance indicators

    Primary election candidates change their campaign strategies in response to both their current and (potential) future opponents

    Get PDF
    Do candidates respond to their opponents during primary elections? If so, which opponents do they engage with: those running against them in the same primary or those who they might face in the general election? In new research, Kevin K. Banda and Thomas M. Carsey show that US Senate and gubernatorial candidates alter their television advertising strategies in response to the ads aired by both their primary election opponents and their potential general election opponents. These strategies are driven in part by the competitiveness of their primary elections; candidates who won their primary elections are more likely to react to their eventual general election opponent during the primary stage of the campaign

    Correlation between sunshine hours and climatic parameters at four locations in Uganda

    Get PDF
    One of the most important factors in solar energy production is related to the predictability of sunshine hours. The objective of this study is to assess the correlation between sunshine hours and relative humidity, cloud cover, maximum and minimum temperature, for the purpose of identifying the most appropriate parameter(s) for the prediction of sunshine hours in Uganda. Climatic data for the meteorological stations of Entebbe, Mbarara, Tororo and Makerere, extending over a period of 15 years (1990-2005) was collected from the Department of Meteorology, Kampala. The data set included maximum temperature, minimum temperature, relative humidity at 6 am and at 12 noon, Cloud cover at 6 am and at 12 noon and Sunshine hours. A multiple regression technique was used to assess the correlation between sunshine hours and maximum and minimum temperatures, cloud cover at 6 am and at 12 noon and relative humidity at 6 am and at 12 noon. Results have shown that the availability of sunshine hours can be predicted by the use of maximum and minimum temperatures, relative humidity at 6 am and 12 noon and cloud cover at 6 am and at 12 noon in Uganda, but, principal components and factoraAnalysis have indicated that two parameters, especially relative humidity at noon or 6 am and Maximum temperature are enough to capture the variability of sunshine hours in Uganda

    Independence and search space preservation in dynamically scheduled constraint logic languages

    Full text link
    This paper performs a further generalization of the notion of independence in constraint logic programs to the context of constraint logic programs with dynamic scheduling. The complexity of this new environment made necessary to first formally define the relationship between independence and search space preservation in the context of CLP languages. In particular, we show that search space preservation is, in the context of CLP languages, not only a sufficient but also a necessary condition for ensuring that both the intended solutions and the number of transitions performed do not change. These results are then extended to dynamically scheduled languages and used as the basis for the extension of the concepts of independence. We also propose several a priori sufficient conditions for independence and also give correctness and efficiency results for parallel execution of constraint logic programs based on the proposed notions of independence

    Abstract verification and debugging of constraint logic programs

    Get PDF
    The technique of Abstract Interpretation [13] has allowed the development of sophisticated program analyses which are provably correct and practical. The semantic approximations produced by such analyses have been traditionally applied to optimization during program compilation. However, recently, novel and promising applications of semantic approximations have been proposed in the more general context of program verification and debugging [3],[10],[7]

    An assertion language for constraint logic programs

    Full text link
    In an advanced program development environment, such as that discussed in the introduction of this book, several tools may coexist which handle both the program and information on the program in different ways. Also, these tools may interact among themselves and with the user. Thus, the different tools and the user need some way to communicate. It is our design principie that such communication be performed in terms of assertions. Assertions are syntactic objects which allow expressing properties of programs. Several assertion languages have been used in the past in different contexts, mainly related to program debugging. In this chapter we propose a general language of assertions which is used in different tools for validation and debugging of constraint logic programs in the context of the DiSCiPl project. The assertion language proposed is parametric w.r.t. the particular constraint domain and properties of interest being used in each different tool. The language proposed is quite general in that it poses few restrictions on the kind of properties which may be expressed. We believe the assertion language we propose is of practical relevance and appropriate for the different uses required in the tools considered
    • …
    corecore