Does it find a solution path which is
shorter than the one by depth-first search (with tokens)?
It should be, or at least no longer, or something is wrong.
Assignment 3.2
Find out how many positions are being evaluated/tested using depth-first and breadth-first search.
The BFS should evaluate many more solutions than the DFS. You can count them by
using the visitation list.
Assignment 3.3∗
Devise a heuristic for the hero/sidekick problem and use a best-first search or an A∗ algorithm to
solve it. Evaluate how many positions you test using this heuristic. Is it better than depth-first
search or breadth-first search?
It is not obvious how to devise a heuristic for the hero/sidekick problem, as this has many
cul-de-sacs. However, the number of correctly transferred travellers can be used, or else,
you could experiment with a higher weight for heroes or sidekicks to see whether it can
help to consider one more critical for the evaluation of “distance” to the goal state.
For the 6 coins problem, instead, this is easy to do, namely closeness to target solution.
Assignment 3.4∗
Solve the Nim game, this time write a minimax algorithm for this purpose (once you covered the
principles in the lecture
Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.
You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.
Read moreEach paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.
Read moreThanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.
Read moreYour email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.
Read moreBy sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.
Read more