Cookies
O website necessita de alguns cookies e outros recursos semelhantes para funcionar. Caso o permita, o INESC TEC irá utilizar cookies para recolher dados sobre as suas visitas, contribuindo, assim, para estatísticas agregadas que permitem melhorar o nosso serviço. Ver mais
Aceitar Rejeitar
  • Menu
Publicações

Publicações por Ricardo Rocha

2011

Efficient instance retrieval of subgoals for subsumptive tabled evaluation of logic programs

Autores
Cruz, F; Rocha, R;

Publicação
THEORY AND PRACTICE OF LOGIC PROGRAMMING

Abstract
Tabled evaluation is an implementation technique that solves some problems of traditional Prolog systems in dealing with recursion and redundant computations. Most tabling engines determine if a tabled subgoal will produce or consume answers by using variant checks. A more refined method, named call subsumption, considers that a subgoal A will consume from a subgoal B if A is subsumed by (an instance of) B, thus allowing greater answer reuse. We recently developed an extension, called Retroactive Call Subsumption, that improves upon call subsumption by supporting bidirectional sharing of answers between subsumed/subsuming subgoals. In this paper, we present both an algorithm and an extension to the table space data structures to efficiently implement instance retrieval of subgoals for subsumptive tabled evaluation of logic programs. Experiments results using the YapTab tabling system show that our implementation performs quite well on some complex benchmarks and is robust enough to handle a large number of subgoals without performance degradation.

2011

Practical Aspects of Declarative Languages - 13th International Symposium, PADL 2011, Austin, TX, USA, January 24-25, 2011. Proceedings

Autores
Rocha, R; Launchbury, J;

Publicação
PADL

Abstract

2006

Handling incomplete and complete tables in tabled logic programs (Extended abstract)

Autores
Rocha, R;

Publicação
LOGIC PROGRAMMING, PROCEEDINGS

Abstract

2006

An external module for implementing linear tabling in prolog (Extended abstract)

Autores
Silva, C; Rocha, R; Lopes, R;

Publicação
LOGIC PROGRAMMING, PROCEEDINGS

Abstract

2008

An improved continuation call-based implementation of tabling

Autores
de Guzman, PC; Carro, M; Hermenegildo, MV; Silva, C; Rocha, R;

Publicação
PRACTICAL ASPECTS OF DECLARATIVE LANGUAGES, PROCEEDINGS

Abstract
Tabled evaluation has been proved an effective method to improve several aspects of goal-oriented query evaluation, including termination and complexity. Several "native" implementations of tabled evaluation have been developed which offer good performance, but many of them require significant changes to the underlying Prolog implementation, including the compiler and the abstract machine. Approaches based on program transformation, which tend to minimize changes to both the Prolog compiler and the abstract machine, have also been proposed, but they often result in lower efficiency. We explore some techniques aimed at combining the best of these worlds, i.e., developing an extensible implementation which requires minimal modifications to the compiler and the abstract machine, and with reasonably good performance. Our preliminary experiments indicate promising results.

2007

On applying program transformation to implement suspension-based tabling in Prolog

Autores
Rocha, R; Silva, C; Lopes, R;

Publicação
Logic Programming, Proceedings

Abstract

  • 11
  • 19