1. Homepage
  2. Programming
  3. Programming for Engineers - Assignment 1: Shortest Route for robot HOOVI

Programming for Engineers - Assignment 1: Shortest Route for robot HOOVI

Engage in a Conversation
Programming for EngineersShortest Route for robot HOOVICShortest PathSearch Algorithm

  CourseNana.COM

  CourseNana.COM

Overview CourseNana.COM

  CourseNana.COM

This is an individual assignment worth 50% of your Programming for Engineers module marks. CourseNana.COM

  CourseNana.COM

The task is to construct a search program in C that implements an intelligent mechanism for a robot to find the shortest route from its current position to its charging station. CourseNana.COM

  CourseNana.COM

Problem description CourseNana.COM

  CourseNana.COM

  CourseNana.COM

HOOVI is a battery-operated security and surveillance robot. It operates during the night and its task is to regularly check all locations in an office building for intruders. The building has three floors with a lobby as well as 12 offices and 12 reception CourseNana.COM

CourseNana.COM

rooms on each floor. There is also a lift for travelling to the next floor below or above. CourseNana.COM

  CourseNana.COM

Please consult the floor plans on the next page for details on how HOOVI can travel between locations. Looking at these details, note that access to any office is only possible through its dedicated reception room – for instance, on the second floor the office D3.2 can only be reached via the reception room D3.1. CourseNana.COM

  CourseNana.COM

Room labels indicate pairs of connected reception & office rooms, as well as the floor number. When developing your algorithm, take note of the common format in which these labels are written. Each of the reception rooms has access to the lobby on that floor which must be crossed on the way to the lift. (Tip: it may be a good idea to consider the lobby and the lift on each level as separate rooms). CourseNana.COM

  CourseNana.COM

The charging station is in a separate room on the first floor, accessible directly from the lift. CourseNana.COM

  CourseNana.COM

HOOVI can use the lift to travel between floors but only by one floor at each step. CourseNana.COM

  CourseNana.COM

Here more details about how HOOVI operates. You may use any of this to inform your program design, but you also need to decide what is relevant for solving the problem and what is not: CourseNana.COM

  CourseNana.COM

1.     HOOVI normally starts exploring the building by going from the charging room into the lift and then travels to all locations (rooms, lobbies, lift) it can find a way into. CourseNana.COM

  CourseNana.COM

2.     HOOVI has audio and video sensors to assess whether a room is unoccupied. If that is the case, it will move straight on to the next room, or trigger an alarm otherwise. For the purposes of this assignment, you should assume the building is empty (there is no intruder). CourseNana.COM

  CourseNana.COM

3.     HOOVI monitors its battery level whilst travelling or cleaning. If the battery level becomes critically low, HOOVI should return to the charging station on the ground floor immediately. CourseNana.COM

  CourseNana.COM

4.     Even though HOOVI will generally travel along the same route, the functionality described in 2. means that in the event the robot needs to return to the charger, it could be in any room on any floor when it needs to return to the charger. CourseNana.COM

  CourseNana.COM

5.     HOOVI can determine the location in which it currently is and has a basic built-in model of the building (that tells it where it can go from a given room), as illustrated in the floor plans. CourseNana.COM

  CourseNana.COM

6.     HOOVI must perform a simulated search from the place it is currently in to find the charging room. It has sufficient memory to remember any rooms it has considered going to during that search. CourseNana.COM

  CourseNana.COM

Page | 1 of 4 CourseNana.COM

CourseNana.COM

Floor plans CourseNana.COM

  CourseNana.COM

   CourseNana.COM

Software Project - Assignment 1 Programming for Engineers 2023/24 CourseNana.COM

  CourseNana.COM

Task CourseNana.COM

  CourseNana.COM

Your task is to write a search program for HOOVI’s hardware platform with which it can find the shortest path (i.e., least number of rooms travelled) from its current location to the charger room. Extract the relevant problem-solving knowledge from the description above and devise a suitable state representation to capture the information about locations. Devise a non-trivial successor function that determines where HOOVI can go from any given place. For testing your program, you should assume three scenarios and present the respective solution paths in your report, where HOOVI is CourseNana.COM

  CourseNana.COM

I) in roomN3.2.              II) in the lift on the first floor.    III) in room K1.1 CourseNana.COM

  CourseNana.COM

Marking Criteria CourseNana.COM

  CourseNana.COM

There are two groups of assessment criteria, Program Internals (search algorithm) , Human-Computer-Interface (i.e., input and output on the command line interface)and English Writing Report . Each of the criteria in these groups is worth a different amount of marks (Total: 100). CourseNana.COM

  CourseNana.COM

When developing your program, you should try to satisfy as many of these as you can. In the event that you couldn’t manage to get your program to run, you can still get some marks for any sensible elements that might form part of a correct solution. Note that satisfying a criterion does not automatically yield all the indicated marks - there may be deductions for inefficiencies and mistakes made, or overly cumbersome approaches. While you are not primarily marked on the quality of your code, it is advised to adhere to common practices. This includes sticking to the specification, using suitable data types for representing the information and for storing results, avoiding undue code duplication, and most importantly: use of comments in the code. Some features require you to think about user interaction – make sure your program presents information clearly and is easy to use. CourseNana.COM

  CourseNana.COM

Program Internals (55 marks in total) CourseNana.COM

  CourseNana.COM

1.     Appropriate state representation. (8) CourseNana.COM

  CourseNana.COM

2.     Correct initial state defined. (2) CourseNana.COM

  CourseNana.COM

3.     Core elements of a correct successor function that generates subsequent states. (4) CourseNana.COM

  CourseNana.COM

4.     A successor function that generates valid states for solving the problem. (10) CourseNana.COM

  CourseNana.COM

  CourseNana.COM

5.     Correct goal test. (3) CourseNana.COM

  CourseNana.COM

6.     Some kind of search activity going on. (5) CourseNana.COM

  CourseNana.COM

7.     Correct elements of Breadth-First-Search list/queue management. (6) CourseNana.COM

  CourseNana.COM

8.     Overall correct and efficient BFS implementation. (10) CourseNana.COM

  CourseNana.COM

9.     An alternative working Depth-First-Search variant accessible within the same program (7) CourseNana.COM

  CourseNana.COM

Human-Computer-Interface (30 marks in total) CourseNana.COM

  CourseNana.COM

1.     A text output of the starting location. (2) CourseNana.COM

  CourseNana.COM

2.     A text output signaling that a solution path has been found. (2) CourseNana.COM

  CourseNana.COM

3.     A text output of the goal location. (2) CourseNana.COM

CourseNana.COM

4.     Detailed printing of the solution path along the different locations involved. (6) CourseNana.COM

  CourseNana.COM

5.     Detailed status messages about HOOVI’s search activity that can be switched on and off through a variable in the code or by user input at the beginning of the program. (11) CourseNana.COM

  CourseNana.COM

6.     The user can enter an arbitrary initial location at the start which is then used by the algorithm to determine a solution path from there. (5) CourseNana.COM

  CourseNana.COM

7.     The user can choose between BFS and DFS as search strategies from a menu. (2) CourseNana.COM

  CourseNana.COM

  CourseNana.COM

English Writing Report (15 marks in total) CourseNana.COM

      Please pay more attention on the requirement of report in the next part, and It is also highly recommended that if you could write down some of your own understanding during coding. CourseNana.COM

  CourseNana.COM

  CourseNana.COM

Report CourseNana.COM

  CourseNana.COM

Your report is a very important element of the assessment to confirm that you have written the program yourself and understood the functionality implemented in it. It will hence be used to qualify the marks you receive. Your report should point out the relevant marking criteria that you have addressed, with detailed references to your source code, and answer the questions posed. If you document your code extensively during development, then this will be a lot easier to do and you need less explanation in the actual report text. For this reason, there is no minimum word count given, but as a guideline, try not to exceed 1500 words in total (excluding Appendix). CourseNana.COM

  CourseNana.COM

Your report should have a title page with your candidate number and contain the following chapters: CourseNana.COM

  CourseNana.COM

1.     Introduction A short section (no more than half a page) where you should describe the purpose of the program and list the main functions in the code, briefly pointing out what they do. You may then also include a screenshot of the program window, if you like. CourseNana.COM

  CourseNana.COM

2.     Program description Firstly try to explain your algorithm with flow charts. Then, you need to explain how your implementation addresses the marking criteria. Focus on the Program Internals and make references to the code in the appendix - you do not need to describe any of the interface criteria as these are self-evident. Which search strategy do you think is most suited to this task – BFS or DFS? Explain why. CourseNana.COM

  CourseNana.COM

3.     Appendix (source code as text, ideally with line numbers for easier reference from chapter 2) CourseNana.COM

  CourseNana.COM

  CourseNana.COM

  CourseNana.COM

Get in Touch with Our Experts

WeChat WeChat
Whatsapp WhatsApp
Programming for Engineers代写,Shortest Route for robot HOOVI代写,C代写,Shortest Path代写,Search Algorithm代写,Programming for Engineers代编,Shortest Route for robot HOOVI代编,C代编,Shortest Path代编,Search Algorithm代编,Programming for Engineers代考,Shortest Route for robot HOOVI代考,C代考,Shortest Path代考,Search Algorithm代考,Programming for Engineershelp,Shortest Route for robot HOOVIhelp,Chelp,Shortest Pathhelp,Search Algorithmhelp,Programming for Engineers作业代写,Shortest Route for robot HOOVI作业代写,C作业代写,Shortest Path作业代写,Search Algorithm作业代写,Programming for Engineers编程代写,Shortest Route for robot HOOVI编程代写,C编程代写,Shortest Path编程代写,Search Algorithm编程代写,Programming for Engineersprogramming help,Shortest Route for robot HOOVIprogramming help,Cprogramming help,Shortest Pathprogramming help,Search Algorithmprogramming help,Programming for Engineersassignment help,Shortest Route for robot HOOVIassignment help,Cassignment help,Shortest Pathassignment help,Search Algorithmassignment help,Programming for Engineerssolution,Shortest Route for robot HOOVIsolution,Csolution,Shortest Pathsolution,Search Algorithmsolution,