Top "Prolog" questions

Do not use this tag like Prologue and Epilogue.

Using prolog with emacs

GNU Emacs 23.2.1 Fedora xfce 14 I starting to get into Prolog, and I want to use my emacs as the IDE …

emacs prolog emacs23
water jug in prolog

It is a water jug problem. The larger bucket holds 5, the smaller bucket holds 3. I want to get 4 in the …

prolog water-jug-problem
Make Prolog return one solution and stop showing the query option

I'm new to prolog, and am experimenting with how to get it to stop querying after it finds one answer. …

prolog format prolog-cut prolog-toplevel
Embedded Prolog Interpreter/Compiler for Java

I'm working on an application in Java, that needs to do some complex logic rule deductions as part of its …

java prolog embedded-language logic-programming constraint-programming
search all paths and the shortest path for a graph - Prolog

I have a problem in my code with turbo prolog which searches all paths and the shortest path in a …

prolog graph-theory shortest-path turbo-prolog
Prolog anonymous variable

Here is what I have understood about Prolog variables. A single underscore stands for anonymous variable, which is like a …

prolog prolog-toplevel prolog-anonymous-variable
Don't repeat solutions in Prolog

Suppose you have a database with the following content: son(a, d). son(b, d). son(a, c). son(b, …

prolog prolog-setof
how to split a sentence in swi-prolog

I am trying my hands on SWI-Prolog in win xp. I am trying to understand how to split a sentence …

prolog swi-prolog dcg
Prolog list difference routine

I am trying to implement a list difference routine in prolog. For some reason the following fails: difference(Xs,Ys,…

list prolog set-theory
Breadth-First in Prolog

What is the general idea of using breadth-first over the default depth-first search scheme in Prolog? Not taking infinite branches? …

prolog breadth-first-search logic-programming