zlacker

[parent] [thread] 0 comments
1. usgrou+(OP)[view] [source] 2024-10-13 12:38:31
There are. Tabling (available in most mature implementations) helps when recalculation of the same states is a problem. Meanwhile, custom search strategy is always an option to implement directly in Prolog. You'll see this in many Advent of Code solutions in Prolog when it is applied to path finding puzzles, in which depth first search is rarely a workable solution.
[go to top]