Hostname: page-component-6898cfcb55-cbk24 Total loading time: 0 Render date: 2026-11-11T12:26:33.280Z Has data issue: false hasContentIssue false

Parallel instantiation of ASP programs: techniques and experiments

Published online by Cambridge University Press:  25 January 2012

SIMONA PERRI
Affiliation:
Dipartimento di Matematica, Università della Calabria, 87030 Rende, Italy (e-mail: perri@mat.unical.it, ricca@mat.unical.it, sirianni@mat.unical.it)
FRANCESCO RICCA
Affiliation:
Dipartimento di Matematica, Università della Calabria, 87030 Rende, Italy (e-mail: perri@mat.unical.it, ricca@mat.unical.it, sirianni@mat.unical.it)
MARCO SIRIANNI
Affiliation:
Dipartimento di Matematica, Università della Calabria, 87030 Rende, Italy (e-mail: perri@mat.unical.it, ricca@mat.unical.it, sirianni@mat.unical.it)
Rights & Permissions [Opens in a new window]

Abstract

Core share and HTML view are not available for this content. However, as you have access to this content, a full PDF is available via the 'Save PDF' action button.

Answer-Set Programming (ASP) is a powerful logic-based programming language, which is enjoying increasing interest within the scientific community and (very recently) in industry. The evaluation of Answer-Set Programs is traditionally carried out in two steps. At the first step, an input program undergoes the so-called instantiation (or grounding) process, which produces a program ′ semantically equivalent to , but not containing any variable; in turn, ′ is evaluated by using a backtracking search algorithm in the second step. It is well-known that instantiation is important for the efficiency of the whole evaluation, might become a bottleneck in common situations, is crucial in several real-world applications, and is particularly relevant when huge input data have to be dealt with. At the time of this writing, the available instantiator modules are not able to exploit satisfactorily the latest hardware, featuring multi-core/multi-processor Symmetric MultiProcessing technologies. This paper presents some parallel instantiation techniques, including load-balancing and granularity control heuristics, which allow for the effective exploitation of the processing power offered by modern Symmetric MultiProcessing machines. This is confirmed by an extensive experimental analysis reported herein.

Information

Type
Regular Papers
Copyright
Copyright © Cambridge University Press 2012
Supplementary material: PDF

PERRI et al. supplementary material

Online Appendix

Download PERRI et al. supplementary material(PDF)
PDF 213.4 KB