please help me for this program... You are working for a company designing cute, funny robot vacuum cleaners. At a high level, the robots’
behavior is divided into three modes:
1. Exploration
2. Vacuuming
3. Rampant Killing
Unfortunately, while consumer testing shows that the last two modes are working perfectly, the exploration
mode still has bugs. You’ve been put in charge of debugging.
At the beginning of the exploration mode, the robot is placed into a convex polygonal room. It has
sensors that should tell it where all the walls are. Your job is to write a program that verifies that these
readings are correct. To do this, the robot needs to physically touch every wall in the room.
Your problem is this: given the shape of a convex polygonal room with N walls and a starting point P
inside it, determine the shortest route that touches each wall and then returns to P. Touching a corner
counts as touching both incident walls.
chetan12
0
Newbie Poster
Recommended Answers
Jump to PostShow us your code so we can see how far you have got with your homework assignment and tell us where you are stuck. DaniWeb members are not here to do your homework for you, but will help guide you if you show some effort...
All 4 Replies
happygeek
2,411
Most Valuable Poster
Team Colleague
Featured Poster
Suzie999
245
Coding Hobbyist
chetan12
0
Newbie Poster
tinstaafl
1,176
Posting Maven
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.