i have define a rule with or operator but it return multiple true or false. isloanaccept(Name,Guarantor,LoanType,LoanAmount,LoanTenure)
I am starting off开发者_JS百科 learning Prolog. I am on Ubuntu 9.10, can someone suggest an IDE to me ? Unfortunately SCITE doesn\'t support Prolog and I am trying to avoid Eclipse and NetBean. I\'m n
I\'m trying to create a program that prints how many smooth numbers are within an interval. A part of the code is here:
I have the following simple expression parser: expr(+(T,E))-->term(T),\"+\",expr(E). expr(T)-->term(T).
I have written a predicate common_participant(Person, PairEvent). which returns pairs of facts from my knowledge base. I was wondering whether there is any way to perform variable binding and collect
I have the following Prolog definite clause grammar: s-->[a],s,[b]. s-->[]. This will result in words like [a,a,b,b] being accepted in opposite to words like [a,b,a,b]. To put it in a nutshel
Let\'s say you have this prolog开发者_开发百科 term \"city(London, England)\". ie London is a city in England.
Closed. This question is opinion-based. It is not currently accepting answers. 开发者_运维百科 Want to improve this question? Update the question so it can be answered with facts and citati
well i\'m having a hard time working with prolog (gprolog). My problem is this, I\'ve the next predicate:
I\'m working on coloring a map according to the four-color theorem (http://en.wikipedia.org/wiki/Four_color_theorem) with SWI-Prolog. So far my program looks like this: