Problem 2 (Wavefront Algorithm): Suppose the Wavefront algorithm provides the following grid map, where: • • R denotes the robot's initial position 1 denotes an inaccessible cell (for example, occupied by objects) 2 denotes the goal position (i.e., destination) When searching through the map to find a path, use eight-neighborhood. At the very first step starting at R, the robot should go to the cell whose value is the minimal among all neighbors of R. • Find at least five different paths. Highlight the shortest path (i.e., the one with minimal distance). 6 5 4 33 65433 65432 65432 65433 651 33 65444 654 5 4 4 4 65555 9 8 7 6 9 1 1 6 10 1 1 6 9 R 1 9 8 7 66 9 8 7 9 1 1 10 1 1 9 R 1 9 8 7 6 65433 5432 654 654 55 655 66666 65433 65 4 4 65555 66666 4 65 4 33 4 65555 66 666 4 9 8 7 9 1 1 10 1 1 9 R 1 9 8 7 9 8 7 9 1 1 10 1 1 9 R 1 9 8 7 65433 3 2 65433 9 8 7 9 1 1 66 6 5 65 6 10 1 1 6 5 4 9 R 1 6 5 4 543 65 4 3 9 8 7 6 5 4 3 2
Problem 2 (Wavefront Algorithm): Suppose the Wavefront algorithm provides the following grid map, where: • • R denotes the robot's initial position 1 denotes an inaccessible cell (for example, occupied by objects) 2 denotes the goal position (i.e., destination) When searching through the map to find a path, use eight-neighborhood. At the very first step starting at R, the robot should go to the cell whose value is the minimal among all neighbors of R. • Find at least five different paths. Highlight the shortest path (i.e., the one with minimal distance). 6 5 4 33 65433 65432 65432 65433 651 33 65444 654 5 4 4 4 65555 9 8 7 6 9 1 1 6 10 1 1 6 9 R 1 9 8 7 66 9 8 7 9 1 1 10 1 1 9 R 1 9 8 7 6 65433 5432 654 654 55 655 66666 65433 65 4 4 65555 66666 4 65 4 33 4 65555 66 666 4 9 8 7 9 1 1 10 1 1 9 R 1 9 8 7 9 8 7 9 1 1 10 1 1 9 R 1 9 8 7 65433 3 2 65433 9 8 7 9 1 1 66 6 5 65 6 10 1 1 6 5 4 9 R 1 6 5 4 543 65 4 3 9 8 7 6 5 4 3 2
Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
Related questions
Question
100%

Transcribed Image Text:Problem 2 (Wavefront Algorithm): Suppose the Wavefront algorithm provides the following
grid map, where:
•
•
R denotes the robot's initial position
1 denotes an inaccessible cell (for example, occupied by objects)
2 denotes the goal position (i.e., destination)
When searching through the map to find a path, use eight-neighborhood.
At the very first step starting at R, the robot should go to the cell whose value is the minimal
among all neighbors of R.
•
Find at least five different paths.
Highlight the shortest path (i.e., the one with minimal distance).
6
5
4
33
65433
65432
65432
65433
651
33
65444
654
5
4
4
4
65555
9
8
7
6
9
1
1
6
10
1
1
6
9
R
1
9
8
7
66
9
8
7
9
1
1
10
1
1
9
R
1
9
8
7
6
65433
5432
654
654
55
655
66666
65433
65
4
4
65555
66666
4
65
4
33
4
65555
66
666
4
9
8
7
9
1
1
10
1
1
9
R
1
9
8
7
9
8
7
9
1
1
10
1
1
9
R
1
9
8
7
65433
3
2
65433
9
8
7
9
1
1
66
6
5
65
6
10 1
1
6 5
4
9
R
1
6
5
4
543
65
4
3
9
8
7
6
5
4
3
2
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps with 1 images

Recommended textbooks for you

Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON

Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science

Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning

Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON

Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science

Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning

Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning

Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education

Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY