Abstract (EN):
This paper presents the logic programming concept of thread-based competitive or-parallelism,, which combines the original idea of competitive or-parallelism with committed-choice nondeterminism and speculative threading. In thread-based competitive or-parallelism, an explicit. disjunction of subgoals is interpreted as a set of concurrent, alternatives, each running in its own thread. The subgoals compete for providing an answer and the first successful subgoal leads to the nation of the remaining ones. We discuss the implementation of competitive or-parallelism in the context, of Logtalk, all object-oriented logic programming language, and present results.
Language:
English
Type (Professor's evaluation):
Scientific
Contact:
pmoura@di.ubi.pt; ricroc@dcc.fc.up.pt; smadeira@di.ubi.pt
No. of pages:
5