Cookies Policy
The website need some cookies and similar means to function. If you permit us, we will use those means to collect data on your visits for aggregated statistics to improve our service. Find out More
Accept Reject
  • Menu
Publications

Publications by Vítor Santos Costa

2000

Novel models for or-parallel logic programs: A performance analysis

Authors
Costa, VS; Rocha, R; Silva, F;

Publication
EURO-PAR 2000 PARALLEL PROCESSING, PROCEEDINGS

Abstract
One of the advantages of logic programming is the fact that it offers many sources of implicit parallelism, such as and-parallelism and or-parallelism. Arguably, or-parallel systems, such as Aurora and Muse, have been the most successful parallel logic programming systems so far. Or-parallel systems rely on techniques such as Environment Copying to address the problem that branches being explored in parallel may need to assign different bindings for the same shared variable. Recent research has led to two new binding representation approaches that also support independent and-parallelism: the Sparse Binding Array and the Copy-On-Write binding models. In this paper, we investigate whether these newer models are practical alternatives to copying for or-parallelism. We based our work on YapOr, an or-parallel copying system using the YAP Prolog engine, so that the three alternative systems share schedulers and the underlying engine.

2003

Experimental evaluation of a caching technique for ILP

Authors
Fonseca, N; Costa, VS; Silva, F; Camacho, R;

Publication
PROGRESS IN ARTIFICIAL INTELLIGENCE

Abstract

2003

On the BEAM implementation

Authors
Lopes, R; Costa, VS; Silva, F;

Publication
PROGRESS IN ARTIFICIAL INTELLIGENCE

Abstract

2003

On deterministic computations in the extended Andorra model

Authors
Lopes, R; Costa, VS; Silva, F;

Publication
LOGIC PROGRAMMING, PROCEEDINGS

Abstract
Logic programming is based on the idea that computation is controlled inference. The Extended Andorra Model provides a very powerful framework that supports both co-routining and parallelism. In this work we show that David H. D. Warren's design for the EAM with Implicit Control does not perform well for deterministic computations and we present several optimisations that allow the BEAM to achieve performance matching or even exceeding related systems. Our optimisations refine the original EAM control rule demonstrate that overheads can be reduced through combined execution rules, and show that a good design and emulator implementation is relevant, even for a complex system such as the BEAM.

2004

Pruning in the extended Andorra model

Authors
Lopes, R; Costa, VS; Silva, F;

Publication
PRACTICAL ASPECTS OF DECLARATIVE LANGUAGES

Abstract
One of the major problems that actual logic programming systems have to address is whether and how to prune undesirable parts of the search space. A region of the search space would definitely be undesirable if it can only repeat previously found solutions, or if it is well-known that the whole computation will fail. Or it may be the case that we are interested in a subset of solutions. In this work we discuss how the BEAM addresses pruning issues. The BEAM is an implementation of David Warren's Extended Andorra Model. Because the BEAM relies on a very flexible execution mechanism, all cases of pruning discussed above should be considered. We show that all these different forms of pruning can be supported, and study their impact in applications.

2004

Speculative computations in or-parallel tabled logic programs

Authors
Rocha, R; Silva, F; Costa, VS;

Publication
LOGIC PROGRAMMING, PROCEEDINGS

Abstract
Pruning operators, such as cut, are important to develop efficient logic programs as they allow programmers to reduce the search space and thus discard unnecessary computations. For parallel systems, the presence of pruning operators introduces the problem of speculative computations. A computation is named speculative if it can be pruned during parallel evaluation, therefore resulting in wasted effort when compared to sequential execution. In this work we discuss the problems behind the management of speculative computations in or-parallel tabled logic programs. In parallel tabling, not only the answers found for the query goal may not be valid, but also answers found for tabled predicates may be invalidated. The problem here is even more serious because to achieve an efficient implementation it is required to have the set of valid tabled answers released as soon as possible. To deal with this, we propose a strategy to deliver tabled answers as soon as it is found that they are safe from being pruned, and present its implementation in the OPTYap parallel tabling system.

  • 30
  • 35