Hostname: page-component-6766d58669-fx4k7 Total loading time: 0 Render date: 2026-05-23T13:09:01.406Z Has data issue: false hasContentIssue false

The External Interface for Extending WASP

Published online by Cambridge University Press:  10 December 2018

CARMINE DODARO*
Affiliation:
DIBRIS, University of Genova, Genova, Italy (e-mail: dodaro@dibris.unige.it)
FRANCESCO RICCA
Affiliation:
DEMACS, University of Calabria, Rende, Italy (e-mail: ricca@mat.unical.it)

Abstract

Answer set programming (ASP) is a successful declarative formalism for knowledge representation and reasoning. The evaluation of ASP programs is nowadays based on the conflict-driven clause learning (CDCL) backtracking search algorithm. Recent work suggested that the performance of CDCL-based implementations can be considerably improved on specific benchmarks by extending their solving capabilities with custom heuristics and propagators. However, embedding such algorithms into existing systems requires expert knowledge of the internals of ASP implementations. The development of effective solver extensions can be made easier by providing suitable programming interfaces. In this paper, we present the interface for extending the CDCL-based ASP solver wasp. The interface is both general, that is, it can be used for providing either new branching heuristics or propagators, and external, that is, the implementation of new algorithms requires no internal modifications of wasp. Moreover, we review the applications of the interface witnessing it can be successfully used to extend wasp for solving effectively hard instances of both real-world and synthetic problems.

Information

Type
Technical Note
Copyright
© Cambridge University Press 2018 

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Article purchase

Temporarily unavailable