Answered step by step
Verified Expert Solution
Question
1 Approved Answer
uniform cost serach implementAssume the following graph represents the future options you have after you graduate from SQU. Assume the start node is S SQU
uniform cost serach implementAssume the following graph represents the future options you have after you graduate from SQU.
Assume the start node is S SQU and your goal node is R Retire, with different options in between for
what you can do between you graduate from college and retirement.
The edge distances represent, roughly, the "cost of transition" between different careers. You also have
heuristics of nodetogoal distances which roughly represent the number of years you have to work until
you retire. For example, it may take years to go from SQU S to retirement R while it may roughly
take years from Grad School B to retirement, but only years from being an Entrepreneur E to
retirement R
Industry Grad School Professor Job Government Entrepreneur
Use alphabetical order to break ties when deciding the priority to use for extending nodes.Part: Answer the following questions and provide the answer in a PDF file named partIDpdf
pts Using a basic uninformed search algorithm you learned in this course, find a path
with the minimum search efforts to go from to What algorithm did you decide to use?
pts Using the algorithm you chose in the previous part, draw the search tree and
pts give the final path
pts Use to find a path from to Use this space to draw the corresponding search
tree and show your work. pts What is the path cost?pts Is the provided heuristics to the goal admissible? Explain your answer.
Part Write a Python program to implement BreadthfirstSearch, DepthfirstSearch, UniformCost
Search, HillClimbing, and algorithms while considering the following requirements:
Use appropriate data structure for the search graph.
Implement a function or method to find the neighbors of a node in the graph.
Display the result of each iteration frontier and expanded nodes
Display the path found given any start state and goal state.
Display the path cost.
Submit all the solution files of your implementation
For optimal search algorithms, you need to consider the edge cost.
Submission instructions:
Create a folder and name it hwID where ID is your student ID
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started