I have been learning prolog.. I\'m using a editor named prol1.1.1 I need to write rule to compare 2 strings, when i give something l开发者_开发问答ike
Given a set of constraints, I would like to efficiently generate theset of values. Suppose I have a few constraints on my Thungus[1]:
I need to write rules for deontic logic, is there any programming language to do that? I saw prolog and I\'m learning 开发者_如何学编程now but how to express deontic logic in PROLOG? please helpThis p
I\'m tearing my hair out trying to find how to just write a Hello World program in Prolog.I just want to create a program that runs like so:
Will learning Prolog help to learn Erlang in a way specific to Erlang? Erlang started as a concurrent Prolog, but is modern Erlang connected to Prolog (beyond syntax)?开发者_StackOverflow中文版 I unde
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references,or expertise, but this question will likely solicit debate, a
There is a wonderful problem set called Ninety-Nine Prolog Problems. Problem P70 is the one referred to in the title. And here is a great Prolog solution of this problem which takes only 5 lines. Howe
%(SWI-Prolog)You can run the program by: ?- bestfs([8,1,3,7,0,2,6,5,4],P). initial([8,1,3,7,0,2,6,5,4]).
What is one good for that the other\'s not in practice?I understand the theory of what they do, but what are their limitations and capabilities in practical use?I\'m considering Drools vs a java prolo
i would like to define a list(List of Bank Customer) from predicate and process the list using some rule.