Hey there, first of all, I will clear your doubt regarding the prolog v/s other programming languages like python.
I am listing some of the differences here.
----------------------------------------------------------------------------prolog----------------------------------------------------------------------------
1) Prolog allows the developer to perform complex searches over a database of facts and perform inferences on those facts. It does so through pattern-matching and implicit backtracking.
If your program involves a search or symbolic manipulation, Prolog is an excellent choice.
2) Prolog is one of the two classic languages for symbolic artificial intelligence programming. Prolog excels at
implementing symbolic rule-based systems. and it executes pretty fast too
-----------------------------------------------------------------------python--------------------------------------------------------------------------------
1) Python is a scripting language primarily used as a front-end for various AI libraries written in C. it can do numerical processing on its own as well, preprocessing in the Python level before the information to the AI libraries.
2) Python It's fast to write code in, it's easy to debug and read, it has tooooons of useful libraries
Trying to implement this kind of thing in another language tends to be a mess. The cleanest and most general solution probably involves implementing your own unification, and doing better will at the very least involve a fair bit of research, reading some headache-inducing papers.
also as per your puzzle as head critic for footlights NewYork city's oldest theatre magazine doona useful reviews major production,both on and off Broadway last month ,however her editor decides to should take a look at avant-grand scene so in this case, backtracking of data will become difficult if other programming languages are used like python because python is not as good as prolog in data matching.
Of course in the real world, key parts of your program may benefit from Prolog, but a lot of other stuff is better handled using another language. That's why a lot of Prolog compilers can interface with, e.g., C.
As mentioned in Assignment 5. Prolog can be used to solve problems that are quite difficult with other programming languages.This is mainly because of the declarative nature of the languages....
you will implement the A* algorithm to solve the sliding tile puzzle game. Your goal is to return the instructions for solving the puzzle and show the configuration after each move. A majority of the code is written, I need help computing 3 functions in the PuzzleState class from the source code I provided below (see where comments ""TODO"" are). Also is this for Artificial Intelligence Requirements You are to create a program in Python 3 that performs the following:...