the event calculus is a logic-based formalism for dealing with temporal reasoning concerns. Erlang is a functionalprogramming language designed from the ground up for tackling distributed programming problems. In thi...
详细信息
the event calculus is a logic-based formalism for dealing with temporal reasoning concerns. Erlang is a functionalprogramming language designed from the ground up for tackling distributed programming problems. In this paper, it is shown that the event calculus is a suitable tool for designing and analyzing distributed systems written as Erlang programs.
the paper proposes a new position-based broadcast algorithm for mobile ad-hoc networks (MANETs) called PBB. It shows how communication methods originally designed for wired multiprocessor interconnection networks can ...
详细信息
the paper proposes a new position-based broadcast algorithm for mobile ad-hoc networks (MANETs) called PBB. It shows how communication methods originally designed for wired multiprocessor interconnection networks can be used in MANETs. PBB is based on a logical 2-dimensional grid view of the geographical region of the MANET. PBB makes use of a known construction of spanning trees in the grid multiprocessor interconnection network. To the best of our knowledge, PBB is the first protocol that uses cell-based spanning trees of the grid to perform broadcasting in MANETs. In this study we derived analytical results for the delivery ratio of PBB protocol and the number of rebroadcast messages per broadcast operation.
Software testing approaches are the most used techniques for programs verification because they are simple and fast. However, because of their lack of exhaustiveness, they cannot be considered as an alternative to for...
详细信息
Software testing approaches are the most used techniques for programs verification because they are simple and fast. However, because of their lack of exhaustiveness, they cannot be considered as an alternative to formal verification approaches. On the other hand, these ones ensure total correction but with an important cost. In addition, they cannot operate well if the verified model is not consistent withthe implementation. this paper proposes a new verification approach that combines tests and formal verification. the new approach, called SEmi-FORmal verification of Java programs or simply SE4J, uses tests to build a formal probabilistic model. this one will be formally verified in order to detect possible design errors in the program. the proposed approach permits also to compare two programs and validate test cases. the paper presents some obtained results over a case study and explains possible uses of the proposed approach.
the increasing complexity of systems and the interdisciplinary necessary to their realization push the organizations to be resorted in teams and thus they must cooperate, because it seems to constitute a means to impr...
详细信息
the increasing complexity of systems and the interdisciplinary necessary to their realization push the organizations to be resorted in teams and thus they must cooperate, because it seems to constitute a means to improve the quality and the time of realizing the products. In this paper, we are interested to the validation phase in the process of requirements engineering in a cooperative context. the cooperation is not a recent practice because people cooperate since always. However, the cooperation, such as it reappears nowadays, is not simply a team work, it wants to be structured and organized in order to produce better results. To this purpose we propose a methodology which presents a collaborative approach of the requirements validation process based on the concepts of competences and multi-viewpoints. the objective of this methodology is twofold; first it increases the quality of the software product (i.e. it leads to better match users' needs) and it reduces the complexity of the validation task.
In answer-set programming (ASP), the main focus usually is on computing answer sets which correspond to solutions to the problem represented by a logic program. Simple reasoning over answer sets is sometimes supported...
详细信息
EcoCast is an execution framework for macroprogramming of wireless sensor networks. Users access sensor nodes as dynamic objects in Python without being concerned with network protocols or data types. EcoCast extends ...
详细信息
EcoCast is an execution framework for macroprogramming of wireless sensor networks. Users access sensor nodes as dynamic objects in Python without being concerned with network protocols or data types. EcoCast extends Python's functionalprogramming primitives map(), reduce(), and filter() to macroprogramming at native speed by patching the firmware transparently without rebooting, and without requiring most users to write code in C or assembly. this demo shows the use of EcoCast batch commands on wireless light controllers, which are composed of EcoSpire nodes connected to relay switches. Starting from only EcoCast firmware, we show incremental code generation and firmware patching, by loading necessary sensor drivers on demand. the composition of sensing value checking and light-switch actions shows how the firmware can be customized and programmed as a result of such an interactive session without writing a single line of C code.
In answer-set programming (ASP), the main focus usually is on computing answer sets which correspond to solutions to the problem represented by a logic program. Simple reasoning over answer sets is sometimes supported...
详细信息
the logical framework LF provides an elegant foundation for specifying formal systems and proofs and it is used successfully in a wide range of applications such as certifying code and mechanizing metatheory of progra...
详细信息
ISBN:
(纸本)9783642122507
the logical framework LF provides an elegant foundation for specifying formal systems and proofs and it is used successfully in a wide range of applications such as certifying code and mechanizing metatheory of programming languages. However, incorporating LF technology into functionalprogramming to allow programmers to specify and reason about formal guarantees of their programs from within the programming language itself has been a major challenge. In this paper, we present an overview of Beluga, a framework for programming and reasoning with formal systems. It supports specifying formal systems in LF and it also provides a dependently typed functional language that supports analyzing and rnanipulating LF data via pattern matching. A distinct feature of Beluga is its direct support for reasoning with contexts and contextual objects. Taken together these features lead to a powerful language which supports writing compact and elegant proofs.
A succinct SAT solver is presented that exploits the control provided by delay declarations to implement watched literals and unit propagation. Despite its brevity the solver is surprisingly powerful and its elegant u...
详细信息
ISBN:
(纸本)9783642122507
A succinct SAT solver is presented that exploits the control provided by delay declarations to implement watched literals and unit propagation. Despite its brevity the solver is surprisingly powerful and its elegant use of Prolog constructs is presented as a prograninting pearl.
We present a general framework for generating SQL query test cases using Constraint logicprogramming. Given a database schema and a SQL view defined in terms of other views and schema tables, our technique generates ...
详细信息
ISBN:
(纸本)9783642122507
We present a general framework for generating SQL query test cases using Constraint logicprogramming. Given a database schema and a SQL view defined in terms of other views and schema tables, our technique generates automatically a set of finite domain constraints whose solutions constitute the test database instances. the soundness and correctness of the technique w.r.t. the semantics of Extended Relational Algebra is proved. Our setting has been implemented in an available tool covering a wide range of SQL queries, including views, subqueries, aggregates and set operations.
暂无评论