arXiv · 2008.09610
Implementing backjumping by throw/1 and catch/3 of Prolog
Abstract
We discuss how to implement backjumping (or intelligent backtracking) in Prolog programs by means of exception handling. This seems impossible in a general case. We provide two solutions. One works for binary programs; in a general case it imposes a restriction on where backjumping may originate. The other restricts a class of backjump targets. We also show how to simulate backjumping by means of backtracking and the Prolog database.
Explore related subjects
Keep this discovery
Włodzimierz Drabent. 2020-08-21. Implementing backjumping by throw/1 and catch/3 of Prolog. https://arxiv.org/abs/2008.09610
Cite the original work for its findings. Save a collection to share your selection of sources.