Michael Codish

Senior Academic

Logic Programming with Graph Automorphism

Integrating nauty with Prolog (Tool Description)

Michael Frank, Michael Codish

This paper presents the pl-nauty library, a Prolog interface to the nauty graph-automorphism tool. Adding the capabilities of nauty to Prolog combines the strength of the generate and prune approach that is commonly used in logic programming and constraint solving, with the ability to reduce symmetries while reasoning over graph objects. Moreover, it enables the integration of nauty in existing tool-chains, such as SAT-solvers or finite domain constraints compilers which exist for Prolog. The implementation consists of two components: pl-nauty, an interface connecting nauty's C library with Prolog, and pl-gtools, a Prolog framework integrating the software component of pl-nauty, called gtools, with Prolog. The complete tool is available as a SWI-Prolog module. We provide a series of usage examples including two that apply to generate Ramsey graphs.

Publication language English
Pages 688-702
Journal Theory and Practice of Logic Programming
Volume 16
Issue number 5-6
Publication status Published - 01.09.2016

ASJC Scopus subject areas

Software
Theoretical Computer Science
Hardware and Architecture
Computational Theory and Mathematics
Artificial Intelligence
Access to Document
10.1017/S1471068416000223
Other files and links
Link to publication in Scopus