Question

In: Computer Science

For each of the following situations: ! Pick the search that is most appropriate, be specific...

For each of the following situations: ! Pick the search that is most appropriate, be specific about visited and expanded list ! Give a one sentence reason why you picked it. (advantage and disadvantages). 1. We need to find the least cost path to find the goal. Best search algorithm chosen: _______________________________________________ reason:__________________________________________________________________ ________________________________________________________________________ 2. We need a search algorithm that is fast and memory efficient, repeating the work is not an issue. Best search algorithm chosen: _______________________________________________ reason:__________________________________________________________________ ________________________________________________________________________ 3. We have a space and we search the tree from both the start and the goal at the same time. Best search algorithm chosen: _______________________________________________ reason:__________________________________________________________________ ________________________________________________________________________ 4. We need a search algorithm that is complete and optimal without considering the number of steps involved. Best search algorithm chosen: _______________________________________________ reason:__________________________________________________________________ ________________________________________________________________________

Solutions

Expert Solution

1. Dijkstra's Algorithm

Reason: It consideres a set containing only the nodes of which the least cost path to n1 is already known. The idea is to consider a set containing only nodes of which the least cost path to n1 is already known. This set is enlarged successively, considering nodes which can be accessed directly by an edge from one of the nodes already contained in the set. From these candidates, the one with the best cost path to the source node is added to the set.It iterates the previous process to reduce the time complexity and to find the shortest path.

2. Binary Search:

Reason: is a more efficient search algorithm which relies on the elements in the list being sorted. We apply the same search process to progressively smaller sub-lists of the original list, starting with the whole list and approximately halving the search area every time.

3. A* Algorithm:

This algorithm is said to have brains, which can work from both start and end position effectively. It is a really smart algorithm which seperated it from the other conventional algorithms.

4. Best First Search:

It can easily switch between BFS and DFS, therefore gaining the advantages of both the sides.

It is more efficient when compared to DFS

Let me know if you have any doubts or if you need anything to change. 

If you are satisfied with the solution, please leave a +ve feedback : ) Let me know for any help with any other questions.

Thank You!
===========================================================================

Related Solutions

2. For each of the following situations, write down (a) the most appropriate graphical display for...
2. For each of the following situations, write down (a) the most appropriate graphical display for the data, and (b) identify a statistic that you might be interested in regarding the data. (i) [2 marks] A survey given to 400 high school students asked the following question: "How many minutes do you study on a typical weeknight?". (ii) [2 marks] Students in Statistics classes made up of 360 students were asked the main method of transportation to school. Students answers...
1. For each of the following independent situations (a – k), describe the most appropriate course...
1. For each of the following independent situations (a – k), describe the most appropriate course of action that the auditors should take. A. While reviewing audit documentation, Tyson Michaels, a partner at K&O was reviewing working papers as part of the firm’s system of quality control. Tyson noted that after releasing an audit report related to the financial statements of a publicly traded client, it does not appear that any tests were conducted to evaluate the need for impairment...
3- For each of the following situations, indicate what type of audit report is most appropriate:...
3- For each of the following situations, indicate what type of audit report is most appropriate: a. The auditor lacks independence in fact, but not necessarily in appearance. b. There is a scope limitation and it is material but the overall financial statements are still presented fairly. c. The uncorrected misstatements are immaterial. d. There is a departure from GAAP and it is pervasively material. ( Accounting Auditing)
For each of the following situations, select the most appropriate risk financing plan (retention, transfer, or...
For each of the following situations, select the most appropriate risk financing plan (retention, transfer, or hybrid) for the given organization based on the given loss exposure’s relative frequency and severity. Local Package Delivery experiences frequent physical damage losses to its trucks. National Farm Products wants to protect its poultry operation from the possible financial consequences of an avian flu outbreak. Construction Contractor recognizes that worker injuries are an unfortunate consequence of doing business.
For each of the following situations, indicate whether ANOVA is appropriate; if not appropriate, the reason...
For each of the following situations, indicate whether ANOVA is appropriate; if not appropriate, the reason why not; and, if appropriate, the type of ANOVA that would be used (i.e., one-way, repeated measures, etc.): The independent variable (IV) is age group –people in their 60s, 70s, and 80s; the dependent variable (DV) is health-related hardiness, as measured on a 20-item scale. The IVs are ethnicity (white, African American, Hispanic, Asian) and birthweight status (<2,500 grams vs 2,500 grams); the DV...
For each of the following situations give the degrees of freedom and an appropriate bound on...
For each of the following situations give the degrees of freedom and an appropriate bound on the P-value (give the exact value if you have software available) for the χ2 statistic for testing the null hypothesis of no association between the row and column variables. (a) A 2 by 2 table with χ2 = 0.73. df = P-value = (b) A 4 by 4 table with χ2 = 18.32. df = P-value = (c) A 2 by 8 table with...
For each of the following situations give the degrees of freedom and an appropriate bound on...
For each of the following situations give the degrees of freedom and an appropriate bound on the P-value (give the exact value if you have software available) for the χ2 statistic for testing the null hypothesis of no association between the row and column variables. (a) A 2 by 2 table with χ2 = 0.73. df = P-value = (b) A 4 by 4 table with χ2 = 18.32. df = P-value = (c) A 2 by 8 table with...
For each of the following situations give the degrees of freedom and an appropriate bound on...
For each of the following situations give the degrees of freedom and an appropriate bound on the P-value (give the exact value if you have software available) for the χ2 statistic for testing the null hypothesis of no association between the row and column variables. (a) A 2 by 2 table with χ2 = 0.76. df = P-value = (b) A 4 by 4 table with χ2 = 18.67. df = P-value = (c) A 2 by 8 table with...
For each of the following situations give the degrees of freedom and an appropriate bound on...
For each of the following situations give the degrees of freedom and an appropriate bound on the P-value (give the exact value if you have software available) for the χ2 statistic for testing the null hypothesis of no association between the row and column variables. (a) A 2 by 2 table with χ2 = 0.98. df = P-value = (b) A 4 by 4 table with χ2 = 18.31. df = P-value = (c) A 2 by 8 table with...
For each of the following situations give the degrees of freedom and an appropriate bound on...
For each of the following situations give the degrees of freedom and an appropriate bound on the P-value (give the exact value if you have software available) for the χ2 statistic for testing the null hypothesis of no association between the row and column variables. (a) A 2 by 2 table with χ2 = 0.91. df = P-value = (b) A 4 by 4 table with χ2 = 18.5. df = P-value = (c) A 2 by 8 table with...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT