首页
网站开发
桌面应用
管理软件
微信开发
App开发
嵌入式软件
工具软件
数据采集与分析
其他
首页
>
> 详细
代写program、代做C/C++设计程序
项目预算:
开发周期:
发布时间:
要求地区:
Overview
This is an individual assignment worth 50% of your Programming for Engineers module marks.
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.
Problem description
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
rooms on each floor. There is also a lift for travelling to the next floor below or above.
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.
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).
The charging station is in a separate room on the first floor, accessible directly from the lift.
HOOVI can use the lift to travel between floors but only by one floor at each step.
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:
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.
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).
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.
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.
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.
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.
Software Project - Assignment 1 Programming for Engineers 2023/24
Task
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
I) in roomN3.2. II) in the lift on the first floor. III) in room K1.1
Marking Criteria
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).
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.
Program Internals (55 marks in total)
1.Appropriate state representation. (8)
2.Correct initial state defined. (2)
3.Core elements of a correct successor function that generates subsequent states. (4)
4.A successor function that generates valid states for solving the problem. (10)
5.Correct goal test. (3)
6.Some kind of search activity going on. (5)
7.Correct elements of Breadth-First-Search list/queue management. (6)
8.Overall correct and efficient BFS implementation. (10)
9.An alternative working Depth-First-Search variant accessible within the same program (7)
Human-Computer-Interface (30 marks in total)
1.A text output of the starting location. (2)
2.A text output signaling that a solution path has been found. (2)
3.A text output of the goal location. (2)
Page | 3 of 4
4.Detailed printing of the solution path along the different locations involved. (6)
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)
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)
7.The user can choose between BFS and DFS as search strategies from a menu. (2)
English Writing Report (15 marks in total)
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.
Report
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).
Your report should have a title page with your candidate number and contain the following chapters:
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.
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.
3.Appendix (source code as text, ideally with line numbers for easier reference from chapter 2)
软件开发、广告设计客服
QQ:99515681
邮箱:99515681@qq.com
工作时间:8:00-23:00
微信:codinghelp
热点项目
更多
代写dts207tc、sql编程语言代做
2024-12-25
cs209a代做、java程序设计代写
2024-12-25
cs305程序代做、代写python程序...
2024-12-25
代写csc1001、代做python设计程...
2024-12-24
代写practice test preparatio...
2024-12-24
代写bre2031 – environmental...
2024-12-24
代写ece5550: applied kalman ...
2024-12-24
代做conmgnt 7049 – measurem...
2024-12-24
代写ece3700j introduction to...
2024-12-24
代做adad9311 designing the e...
2024-12-24
代做comp5618 - applied cyber...
2024-12-24
代做ece5550: applied kalman ...
2024-12-24
代做cp1402 assignment - netw...
2024-12-24
热点标签
mktg2509
csci 2600
38170
lng302
csse3010
phas3226
77938
arch1162
engn4536/engn6536
acx5903
comp151101
phl245
cse12
comp9312
stat3016/6016
phas0038
comp2140
6qqmb312
xjco3011
rest0005
ematm0051
5qqmn219
lubs5062m
eee8155
cege0100
eap033
artd1109
mat246
etc3430
ecmm462
mis102
inft6800
ddes9903
comp6521
comp9517
comp3331/9331
comp4337
comp6008
comp9414
bu.231.790.81
man00150m
csb352h
math1041
eengm4100
isys1002
08
6057cem
mktg3504
mthm036
mtrx1701
mth3241
eeee3086
cmp-7038b
cmp-7000a
ints4010
econ2151
infs5710
fins5516
fin3309
fins5510
gsoe9340
math2007
math2036
soee5010
mark3088
infs3605
elec9714
comp2271
ma214
comp2211
infs3604
600426
sit254
acct3091
bbt405
msin0116
com107/com113
mark5826
sit120
comp9021
eco2101
eeen40700
cs253
ece3114
ecmm447
chns3000
math377
itd102
comp9444
comp(2041|9044)
econ0060
econ7230
mgt001371
ecs-323
cs6250
mgdi60012
mdia2012
comm221001
comm5000
ma1008
engl642
econ241
com333
math367
mis201
nbs-7041x
meek16104
econ2003
comm1190
mbas902
comp-1027
dpst1091
comp7315
eppd1033
m06
ee3025
msci231
bb113/bbs1063
fc709
comp3425
comp9417
econ42915
cb9101
math1102e
chme0017
fc307
mkt60104
5522usst
litr1-uc6201.200
ee1102
cosc2803
math39512
omp9727
int2067/int5051
bsb151
mgt253
fc021
babs2202
mis2002s
phya21
18-213
cege0012
mdia1002
math38032
mech5125
07
cisc102
mgx3110
cs240
11175
fin3020s
eco3420
ictten622
comp9727
cpt111
de114102d
mgm320h5s
bafi1019
math21112
efim20036
mn-3503
fins5568
110.807
bcpm000028
info6030
bma0092
bcpm0054
math20212
ce335
cs365
cenv6141
ftec5580
math2010
ec3450
comm1170
ecmt1010
csci-ua.0480-003
econ12-200
ib3960
ectb60h3f
cs247—assignment
tk3163
ics3u
ib3j80
comp20008
comp9334
eppd1063
acct2343
cct109
isys1055/3412
math350-real
math2014
eec180
stat141b
econ2101
msinm014/msing014/msing014b
fit2004
comp643
bu1002
cm2030
联系我们
- QQ: 9951568
© 2021
www.rj363.com
软件定制开发网!