934 resultados para app ios swift pesci ecosostenibilita mercato-ittico citizen-science xcode sostenibilita


Relevância:

10.00% 10.00%

Publicador:

Resumo:

In the past few years Tabling has emerged as a powerful logic programming model. The integration of concurrent features into the implementation of Tabling systems is demanded by need to use recently developed tabling applications within distributed systems, where a process has to respond concurrently to several requests. The support for sharing of tables among the concurrent threads of a Tabling process is a desirable feature, to allow one of Tabling’s virtues, the re-use of computations by other threads and to allow efficient usage of available memory. However, the incremental completion of tables which are evaluated concurrently is not a trivial problem. In this dissertation we describe the integration of concurrency mechanisms, by the way of multi-threading, in a state of the art Tabling and Prolog system, XSB. We begin by reviewing the main concepts for a formal description of tabled computations, called SLG resolution and for the implementation of Tabling under the SLG-WAM, the abstract machine supported by XSB. We describe the different scheduling strategies provided by XSB and introduce some new properties of local scheduling, a scheduling strategy for SLG resolution. We proceed to describe our implementation work by describing the process of integrating multi-threading in a Prolog system supporting Tabling, without addressing the problem of shared tables. We describe the trade-offs and implementation decisions involved. We then describe an optimistic algorithm for the concurrent sharing of completed tables, Shared Completed Tables, which allows the sharing of tables without incurring in deadlocks, under local scheduling. This method relies on the execution properties of local scheduling and includes full support for negation. We provide a theoretical framework and discuss the implementation’s correctness and complexity. After that, we describe amethod for the sharing of tables among threads that allows parallelism in the computation of inter-dependent subgoals, which we name Concurrent Completion. We informally argue for the correctness of Concurrent Completion. We give detailed performance measurements of the multi-threaded XSB systems over a variety of machines and operating systems, for both the Shared Completed Tables and the Concurrent Completion implementations. We focus our measurements inthe overhead over the sequential engine and the scalability of the system. We finish with a comparison of XSB with other multi-threaded Prolog systems and we compare our approach to concurrent tabling with parallel and distributed methods for the evaluation of tabling. Finally, we identify future research directions.

Relevância:

10.00% 10.00%

Publicador:

Resumo:

This paper studies static-priority preemptive scheduling on a multiprocessor using partitioned scheduling. We propose a new scheduling algorithm and prove that if the proposed algorithm is used and if less than 50% of the capacity is requested then all deadlines are met. It is known that for every static-priority multiprocessor scheduling algorithm, there is a task set that misses a deadline although the requested capacity is arbitrary close to 50%.

Relevância:

10.00% 10.00%

Publicador:

Resumo:

A swift chemical route to synthesize Co-doped SnO2 nanopowders is described. Pure and highly stable Sn1-xCoxO2-delta (0 <= x <= 0.15) crystalline nanoparticles were synthesized, with mean grain sizes <5 nm and the dopant element homogeneously distributed in the SnO2 matrix. The UV-visible diffuse reflectance spectra of the Sn1-xCoxO2-delta samples reveal red shifts, the optical bandgap energies decreasing with increasing Co concentration. The samples' Urbach energies were calculated and correlated with their bandgap energies. The photocatalytic activity of the Sn1-xCoxO2-delta samples was investigated for the 4-hydroxylbenzoic acid (4-HBA) degradation process. A complete photodegradation of a 10 ppm 4-HBA solution was achieved using 0.02% (w/w) of Sn0.95Co0.05O2-delta nanoparticles in 60 min of irradiation. (C) 2014 Elsevier B.V. All rights reserved.