I want a prolog rule which accept a list of names and check whether the list is in descending order or not by cost. The database file is attached.
I only want to type a list of names in query. Prolog needs to check the order by cost and return true or false.
?- checkOrder([martin,lyla,michael,julia]). %example of query I want to type in prolog
true. %return I am expecting from above query
?- checkOrder([martin,lyla,michael,sam]). %example of query I want to type in prolog
false. %return I am expecting from above query
Hello Sir...
I will deliver in less than a day, it'll be perfect and tested code.
I am a computer science tutor, I teach (among others) Prolog and Algorithms.
I have done many projects like this, and I'm the top Prolog developer, you can check here please: https://www.freelancer.com/freelancers/skills/Prolog/
Please contact me for more details when possible.
I look forward to work for you Sir.
Best Regards.
I am not a mediator.
I will help quickly and efficiently.
Ready to do this job. So far I have only some closed projects. Maybe your project will be the next?
From the Prolog & Swi-Prolog, of course, familiar.
Thanks for your project.
I use Prolog programming daily in my regular employment.
Please define "cost." Is "cost" just the first value and fourth of travelto (in attachment)?
Or do you expect the predicate to navigate through the network defined by the travelto definitions?
If you are seeking an ordering of travelto facts, I can write a predicate to do that and verify it against the original set. But if you want something else, then I will have to consider programming a depth first search.
I will revise my bid when you provide full specifications, including a unambiguous definition of "cost."
A milestone payment for the full budget for this project must be deposited with this site before your offer can be accepted.
Alan Idler
Chief Software Architect
Idleswell Software Creations
Hi Sir, I have this done as you requested, very easy task hence the low project bid price, please, consider my bid and let me know if you have any question... Thanks!
the implementation will include 3 rules 1 base case and 2 recursive cases ( one for correct order and the other for the failure rule). It should take an hour maximum with testing.