You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Eight Queens program included in Examples (citation: O'Keefe, The Craft of Prolog) is unnecessarily complicated and wasteful in its data structure. Here is a much simpler program that uses the same idea (diagonals as lists of logic variables shared with columns), adapted from a program in Chapter 9 of van Roy and Haridi, Concepts, Techniques, and Models of Computer Programming, 2004:
The Eight Queens program included in Examples (citation: O'Keefe, The Craft of Prolog) is unnecessarily complicated and wasteful in its data structure. Here is a much simpler program that uses the same idea (diagonals as lists of logic variables shared with columns), adapted from a program in Chapter 9 of van Roy and Haridi, Concepts, Techniques, and Models of Computer Programming, 2004:
The text was updated successfully, but these errors were encountered: