SlideShare a Scribd company logo
I. Naive Robot Navigation Problem:
Design a program that uses the BFS (Breadth-First Search) algorithm to find any of
the shortest navigation routes for a line-following robot tasked with navigating a grid
maze by following only white tiles. Traversal to adjacent tiles takes the same time
regardless of the adjacent tiles direction. The program takes the following inputs (Do
not hardcode any of the following parameters):
1. A maze configuration, maze, represented as an MxN 2D list, where M is the
number of rows and N is the number of columns in the maze. Each element of
the list represents a tile in the maze, with '1' indicating a white tile and '0'
indicating an obstacle or black tile.
2. The starting coordinate, start, a two-element tuple (row_start_index,
col_start_index) where the robot begins its journey within the maze.
3. The end coordinate, end, a two-element tuple (row_end_index,
col_end_index) representing the desired destination point.
4. Legal moves boolean, all_direction. A value False indicates that the robot
can move only in four directions (up, down, left, right), whereas True indicates
that the robot can move in all directions (up, down, left, right, up-left, up-right,
down-left, down-right).
The program should provide the following output as a tuple with two elements:
1. A boolean value indicates whether the endpoint is reachable from the starting
point (True if reachable, False if unreachable).
2. A list representing the navigation plan that the robot should follow successively
to traverse the maze. This list should contain a sequence of coordinates
representing the path from the starting point to the endpoint, considering the
shortest possible route.
Note: Your program should work for a maze of any size and any start and end
coordinates within maze. Well test your programs output on a random maze
configuration

More Related Content

PDF
Artificial Intelligence Practical Manual.pdf
PDF
Breadth-first search is a graph traversal algorithm
PDF
Grid Based Autonomous Navigator
PDF
Goal The goal is to build a Maze-runner special edition of your .pdf
PPTX
HandyBug Robot
DOCX
Maze Solver - Rubric.xlsxSheet1Maze Solver - RubricStudent Nam.docx
PDF
Maze Solver Robot using Arduino
PDF
AI-Programs.pdf
Artificial Intelligence Practical Manual.pdf
Breadth-first search is a graph traversal algorithm
Grid Based Autonomous Navigator
Goal The goal is to build a Maze-runner special edition of your .pdf
HandyBug Robot
Maze Solver - Rubric.xlsxSheet1Maze Solver - RubricStudent Nam.docx
Maze Solver Robot using Arduino
AI-Programs.pdf

Similar to I. Naive Robot Navigation ProblemDesign a program that uses the B.pdf (20)

DOC
Programs.doc
DOCX
python_assignmentHanoi (1).py################################.docx
PPTX
final uniform_search_Uninformed Search.pptx
PDF
AI_Lab_File()[1]sachin_final (1).pdf
DOCX
CS3491-AI and ML lab manual cs3491 r2021
PDF
DESIGN AND IMPLEMENTATION OF PATH PLANNING ALGORITHM
PPT
An elementary navigation simulated in Java
PPTX
Line Maze Solver Presentation
PPTX
Derby presentation
PDF
Line maze solver
DOCX
FIT5047 Semester 1, 2015 Problem Solving as SearchFIT5047 .docx
PDF
I got this python coding for below quesion but i dont know h.pdf
PDF
EnvironmentLet assume the environment is a grid of colored tiles(.pdf
PDF
Write a C++ program which generates and displays a random walk acros.pdf
DOCX
Path Following Robot
PPTX
Rat_in_a_maze((Dynamic programming-tabulation))
PDF
Do24738741
PDF
DOCX
1) IntroductionThis practical work consists of developing
DOCX
1) IntroductionThis practical work consists of developing
Programs.doc
python_assignmentHanoi (1).py################################.docx
final uniform_search_Uninformed Search.pptx
AI_Lab_File()[1]sachin_final (1).pdf
CS3491-AI and ML lab manual cs3491 r2021
DESIGN AND IMPLEMENTATION OF PATH PLANNING ALGORITHM
An elementary navigation simulated in Java
Line Maze Solver Presentation
Derby presentation
Line maze solver
FIT5047 Semester 1, 2015 Problem Solving as SearchFIT5047 .docx
I got this python coding for below quesion but i dont know h.pdf
EnvironmentLet assume the environment is a grid of colored tiles(.pdf
Write a C++ program which generates and displays a random walk acros.pdf
Path Following Robot
Rat_in_a_maze((Dynamic programming-tabulation))
Do24738741
1) IntroductionThis practical work consists of developing
1) IntroductionThis practical work consists of developing
Ad

More from stopgolook (15)

PDF
Jordano Food Products Supply Chain Profile Jordano Foods Tracie Shan.pdf
PDF
Java Code The traditional way to deal with these in Parsers is the .pdf
PDF
Javai have to make a method that takes a linked list and then retu.pdf
PDF
J.M. Baker worked as a traditional land use researcher and consultan.pdf
PDF
IT Project Management homework Identify any project of your choice.pdf
PDF
INSTRUCTIONSDevelop, and present a plan and business case for an a.pdf
PDF
In the realm of professional dynamics, understanding and appreciating .pdf
PDF
import React, { useEffect } from react;import { BrowserRouter as.pdf
PDF
In C++ please, do not alter node.hStep 1 Inspect the Node.h file.pdf
PDF
Im trying to define a class in java but I seem to be having a bit o.pdf
PDF
in c languageTo determine the maximum string length, we need to .pdf
PDF
In 2011, the head of the Presidential Protection Force (for purposes.pdf
PDF
import java.util.Scanner;public class Main {private static i.pdf
PDF
If a taxpayer has investment income that exceeds a certain threshold.pdf
PDF
Im having an issue with the simulateOPT() methodthis is the p.pdf
Jordano Food Products Supply Chain Profile Jordano Foods Tracie Shan.pdf
Java Code The traditional way to deal with these in Parsers is the .pdf
Javai have to make a method that takes a linked list and then retu.pdf
J.M. Baker worked as a traditional land use researcher and consultan.pdf
IT Project Management homework Identify any project of your choice.pdf
INSTRUCTIONSDevelop, and present a plan and business case for an a.pdf
In the realm of professional dynamics, understanding and appreciating .pdf
import React, { useEffect } from react;import { BrowserRouter as.pdf
In C++ please, do not alter node.hStep 1 Inspect the Node.h file.pdf
Im trying to define a class in java but I seem to be having a bit o.pdf
in c languageTo determine the maximum string length, we need to .pdf
In 2011, the head of the Presidential Protection Force (for purposes.pdf
import java.util.Scanner;public class Main {private static i.pdf
If a taxpayer has investment income that exceeds a certain threshold.pdf
Im having an issue with the simulateOPT() methodthis is the p.pdf
Ad

Recently uploaded (20)

PPTX
Microbial diseases, their pathogenesis and prophylaxis
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PDF
Classroom Observation Tools for Teachers
PPTX
Cell Structure & Organelles in detailed.
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PDF
VCE English Exam - Section C Student Revision Booklet
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
Anesthesia in Laparoscopic Surgery in India
PPTX
Cell Types and Its function , kingdom of life
PDF
Insiders guide to clinical Medicine.pdf
PPTX
GDM (1) (1).pptx small presentation for students
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PPTX
Pharma ospi slides which help in ospi learning
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PDF
Computing-Curriculum for Schools in Ghana
PPTX
Lesson notes of climatology university.
Microbial diseases, their pathogenesis and prophylaxis
Module 4: Burden of Disease Tutorial Slides S2 2025
Classroom Observation Tools for Teachers
Cell Structure & Organelles in detailed.
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
Abdominal Access Techniques with Prof. Dr. R K Mishra
VCE English Exam - Section C Student Revision Booklet
Final Presentation General Medicine 03-08-2024.pptx
Anesthesia in Laparoscopic Surgery in India
Cell Types and Its function , kingdom of life
Insiders guide to clinical Medicine.pdf
GDM (1) (1).pptx small presentation for students
FourierSeries-QuestionsWithAnswers(Part-A).pdf
Pharma ospi slides which help in ospi learning
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
Supply Chain Operations Speaking Notes -ICLT Program
Computing-Curriculum for Schools in Ghana
Lesson notes of climatology university.

I. Naive Robot Navigation ProblemDesign a program that uses the B.pdf

  • 1. I. Naive Robot Navigation Problem: Design a program that uses the BFS (Breadth-First Search) algorithm to find any of the shortest navigation routes for a line-following robot tasked with navigating a grid maze by following only white tiles. Traversal to adjacent tiles takes the same time regardless of the adjacent tiles direction. The program takes the following inputs (Do not hardcode any of the following parameters): 1. A maze configuration, maze, represented as an MxN 2D list, where M is the number of rows and N is the number of columns in the maze. Each element of the list represents a tile in the maze, with '1' indicating a white tile and '0' indicating an obstacle or black tile. 2. The starting coordinate, start, a two-element tuple (row_start_index, col_start_index) where the robot begins its journey within the maze. 3. The end coordinate, end, a two-element tuple (row_end_index, col_end_index) representing the desired destination point. 4. Legal moves boolean, all_direction. A value False indicates that the robot can move only in four directions (up, down, left, right), whereas True indicates that the robot can move in all directions (up, down, left, right, up-left, up-right, down-left, down-right). The program should provide the following output as a tuple with two elements: 1. A boolean value indicates whether the endpoint is reachable from the starting point (True if reachable, False if unreachable). 2. A list representing the navigation plan that the robot should follow successively to traverse the maze. This list should contain a sequence of coordinates representing the path from the starting point to the endpoint, considering the shortest possible route. Note: Your program should work for a maze of any size and any start and end coordinates within maze. Well test your programs output on a random maze configuration