加勒比久久综合,国产精品伦一区二区,66精品视频在线观看,一区二区电影

合肥生活安徽新聞合肥交通合肥房產(chǎn)生活服務合肥教育合肥招聘合肥旅游文化藝術(shù)合肥美食合肥地圖合肥社保合肥醫(yī)院企業(yè)服務合肥法律

代寫CS345、代做Java,Python程序設計

時間:2023-12-21  來源:合肥網(wǎng)hfw.cc  作者:hfw.cc 我要糾錯


CS345/912 Sensor Networks and Mobile Data Communications Term 1, 202**024

_________________________________________________________________________________________

__________________________________________________________________________

Victor Sanchez

Department of Computer Science, University of Warwick 1

Coursework Specification

I. Introduction

Two villages 10 kilometres apart communicate through a Delay Tolerant Network (DTN).

Village 1, which has the transceiver Node 0, sends packets to transceiver Node 1. Node 1 is

located in a bus that travels to the vicinity of Village 2, where it will transfer the packets to

transceiver Node 2. The position of all nodes is depicted in Fig. 1, where d = 3 m.

Fig. 1. Initial position of nodes

Node operation

Village 1 - Node 0

Several readings are generated by Node 0 at a rate of 1 reading per second. These readings

are stamped with the order in which they are generated and stored in a buffer. The elements

in the buffer are represented in the simulation by two variables: head and tail. The buffer

in Node 0 can only accommodate three readings; when the buffer is full, the oldest reading

in the buffer is thrown away. Assuming no data is transmitted to Node 1, the contents of

Node 0’s buffer change as tabulated in Table 1.

d

10000 m

Node 0 Node 2

Node 1

x

y

CS345/912 Sensor Networks and Mobile Data Communications Term 1, 202**024

_________________________________________________________________________________________

__________________________________________________________________________

Victor Sanchez

Department of Computer Science, University of Warwick 2

Table 1. Contents of Node 0’s buffer assuming no data transmission.

No. of readings

generated

No. of readings

stored in buffer Stamps Simulation variables

Head Tail

0 0 0 0

1 1 [1] 1 1

2 2 [1,2] 2 1

3 3 [1,2,3] 3 1

4 3 [2,3,4] 4 2

5 3 [3,4,5] 5 3

… … … … …

As long as the buffer is not empty, Node 0 encapsulates the buffer’s contents into a packet

and transmits it to Node 1 at the rate of 4 packets per second. Upon receiving an

acknowledgement from Node 1, Node 0 clears the contents of its buffer.

The bus - Node 1

After receiving a data packet from Node 0, Node 1 stores the contents of the packet into its

buffer, and then acknowledges the reception of the packet. After acknowledging the packet,

Node 1 repeatedly transmits data packets to Node 2 at the rate of 4 packets per second. Node

1 also encapsulates its buffer into a packet. Node 1 only stops transmitting a data packet

upon receiving an acknowledgement from Node 2. Note, however, that Node 1’s buffer can

change before it can successfully send a packet to Node 2. This will happen for instance

when it receives a new packet from Node 0.

Village 2- Node 2

Upon receiving a data packet from Node 1, Node 2 sends an acknowledgement.

II. Methods

Use code CS345_BASE_2023.cc, which is available on the module webpage, to complete

this coursework. The bus as simulated in the code does not move. You can verify this by

running the code: it is only the bus and Village 1 that interact.

a. Introduce a mobility model such that Node 1 moves at a constant speed of 20m/s.

Make sure that the bus moves in a straight line up to the x-coordinate of Village 2

(Node 1 should stop once it reaches this destination). After implementing the

mobility of the bus, make sure that all nodes interact according to the behaviour

described before. [15 marks]

b. Determine the transmission range of Village 1 and Village 2 and the region where the

bus can receive/transmit to both villages (if any). When running your simulations,

make sure that the duration of the simulation is long enough for Node 1 to move to

the same x-coordinate as that of Node 2. [5 marks]

CS345/912 Sensor Networks and Mobile Data Communications Term 1, 202**024

_________________________________________________________________________________________

__________________________________________________________________________

Victor Sanchez

Department of Computer Science, University of Warwick 3

c. Modify the code so that every time Node 2 receives a unique packet, it also prints the

number of readings received so far. [5 marks]

d. Plot the relationship between the speed of Node 1, distance d, and the number of

readings received by Node 2. To this end, test a speed from 20m/s to 200m/s

(increments of 10m/s) and a distance d from 3m to 303m (increments of 6 m). Note

that this relationship can be plotted in different ways, e.g., line plots or 3D plots.

How does the speed of Node 1 and distance d affect the number of readings received

by Node 2? Explain. [10 marks]

e. Modify the behaviour of Node 1 so that it keeps all received readings in its buffer.

For example:

Node 1’s current buffer: [1, 2, 3]

EVENT: data packet is received by Node 1 with readings [4, 5, 6]

Node 1’s new buffer: [1, 2, 3, 4, 5, 6]

[10 marks]

f. Repeat the experiment in II.d, but this time using the modified code from II.e. Plot

the relationship between the speed of Node 1, distance d, and the number of readings

received by Node 2. Explain any differences with the plot obtained in II.d.

[5 marks]

g. Add a mobile node (Node 3) to the DTN. This additional node must be initially

located to the left of Node 1 at a distance d2 = 250 m (see Fig. 3). Node 3 must have

the same y-coordinate and speed as those of Node 1. Node 3 must have the same

behaviour as that of Node 1 (after all previous modifications introduced); i.e., it

should be able to receive packets from Node 0 and transmit packets to Node 2.

Fig. 3. Initial position of nodes with additional node.

d

10000 m

Node 0 Node 2

Node 1

x

y

Node 3 d2 = 250 m

CS345/912 Sensor Networks and Mobile Data Communications Term 1, 202**024

_________________________________________________________________________________________

__________________________________________________________________________

Victor Sanchez

Department of Computer Science, University of Warwick 4

Note that by adding Node 3 to the DTN, the following aspects should be considered:

• Node 0 is originally hard-coded to transmit exclusively to Node 1. You should

modify Node 0’s behaviour so that it can transmit (broadcast) to both Node 1 and

Node 3. Hint: you may use the method SetAllowBroadcast.

• Node 2 should be able to receive data packets from Node 1 and Node 3. Node 2

must be able to properly count the number of readings received. It is possible for

the readings transmitted by Node 1 and Node 3 to overlap. For example, Node 1

may transmit readings **6, while Node 3 may transmit readings 4-7. The total

number of received readings, in this case, is 7; i.e., [1, 2, 3, 4, 5, 6,

7]. It is also possible for Node 1 and Node 3 to transmit different readings. For

example, Node 1 may transmit readings **6, while Node 3 may transmit readings

10-12. The total number of received readings in this case is 9; i.e., [1, 2, 3,

4, 5, 6, 10, 11, 12]. Node 2 must be able to deal with both cases

properly. [30 marks]

h. Plot the relationship between distance d2, as depicted in Fig. 3, distance d, and the

total number of readings received by Node 2. Set the speed of Node 1 and Node 3 to

20m/s. Test distance d from 3m to 303m (increments of 6 m). Test distance d2 from

50m to 1000m (increments of 50 m). When running your simulations, make sure that

the duration of the simulation is long enough for Node 3 to move to the same xcoordinate as that of Node 2. Explain and discuss any differences in the plot

compared to the one obtained in II.f for a speed of 20m/s. [10 marks]

III. Deliverables

Submit the following via Tabula:

1. A report with a description of how the DTN was modified according to each subsection

of Section II, as well as the requested explanations, discussions, and plots. Make sure to

include snippets of code showing your modifications to the code. Cleary explain these

modifications.

2. Your final solution for II.g as a cc file. Please make sure that the submitted code

compiles and works correctly before submitting.

A total of 10 marks are available for the quality and presentation of reports, as well as the

organization and explanation of your code (comment your code appropriately to indicate the

changes made). Documents should be clearly and logically structured, well-written, and

adequately proof-read before submission. The suggested length is between 1600-1800

words. The standard department late penalties and plagiarism policies are in effect.

請加QQ:99515681 或郵箱:99515681@qq.com   WX:codehelp

 

掃一掃在手機打開當前頁
  • 上一篇:XJCO3811代寫、C++程序設計代做
  • 下一篇:COMP 250代做、代寫java編程設計
  • 無相關(guān)信息
    合肥生活資訊

    合肥圖文信息
    2025年10月份更新拼多多改銷助手小象助手多多出評軟件
    2025年10月份更新拼多多改銷助手小象助手多
    有限元分析 CAE仿真分析服務-企業(yè)/產(chǎn)品研發(fā)/客戶要求/設計優(yōu)化
    有限元分析 CAE仿真分析服務-企業(yè)/產(chǎn)品研發(fā)
    急尋熱仿真分析?代做熱仿真服務+熱設計優(yōu)化
    急尋熱仿真分析?代做熱仿真服務+熱設計優(yōu)化
    出評 開團工具
    出評 開團工具
    挖掘機濾芯提升發(fā)動機性能
    挖掘機濾芯提升發(fā)動機性能
    海信羅馬假日洗衣機亮相AWE  復古美學與現(xiàn)代科技完美結(jié)合
    海信羅馬假日洗衣機亮相AWE 復古美學與現(xiàn)代
    合肥機場巴士4號線
    合肥機場巴士4號線
    合肥機場巴士3號線
    合肥機場巴士3號線
  • 短信驗證碼 目錄網(wǎng) 排行網(wǎng)

    關(guān)于我們 | 打賞支持 | 廣告服務 | 聯(lián)系我們 | 網(wǎng)站地圖 | 免責聲明 | 幫助中心 | 友情鏈接 |

    Copyright © 2025 hfw.cc Inc. All Rights Reserved. 合肥網(wǎng) 版權(quán)所有
    ICP備06013414號-3 公安備 42010502001045

    久久综合色占| 免费成人av在线| 欧美影院精品| 日韩成人综合| 五月天久久网站| 日韩精品免费视频一区二区三区 | 欧美丰满日韩| 精品久久中文| 国产aⅴ精品一区二区三区久久| 日韩欧美网站| 99国产精品自拍| 久久免费高清| 免费观看性欧美大片无片| 日本不卡视频在线| 日韩激情在线| 免费看的黄色欧美网站| 激情国产一区| 91欧美极品| 日韩三级视频| 伊人久久大香| 欧美一区二区| 日本免费久久| 男女性色大片免费观看一区二区 | 欧美成人精品一区二区男人小说| 欧洲激情视频| 999精品一区| 国产调教精品| 国产日韩欧美中文在线| 欧美日韩亚洲一区在线观看| 欧美日韩视频免费看| av中文在线资源库| 毛片一区二区| 国产精品腿扒开做爽爽爽挤奶网站| 麻豆一区二区| 久久中文字幕一区二区| 国产乱码精品一区二区三区亚洲人| 精品亚洲a∨| 精精国产xxxx视频在线播放| 国产精品精品国产一区二区| 久久国产精品亚洲77777| 午夜片欧美伦| 在线一区免费| 精品日韩毛片| 欧洲毛片在线视频免费观看| 久久精品卡一| 99re6这里只有精品| 精品精品精品| 欧美人体视频| 日韩精品一区二区三区免费观影 | 免费成人美女在线观看| 久久国产88| 噜噜噜躁狠狠躁狠狠精品视频| 亚洲欧洲一区| 男女av一区三区二区色多| 亚洲专区一区二区三区| 免费日韩视频| 日韩av有码| 日本三级一区| 日韩网站中文字幕| 欧美成人黄色| 麻豆精品久久久| 亚洲天天综合| 国产调教一区二区三区| 日本亚洲欧美天堂免费| 日韩一区二区三区精品| 国产毛片精品| 黑丝美女一区二区| 性欧美xxxx大乳国产app| 日本久久综合| 亚洲精品第一| 亚洲在线资源| 偷拍自拍亚洲色图| 中文字幕日韩高清在线| 美女网站色精品尤物极品姐弟| 久久久久国产一区二区| 黑丝一区二区三区| 蜜臀va亚洲va欧美va天堂| 日本黄色免费在线| 国产欧美自拍| 国产精品一区二区美女视频免费看 | 伊人成人在线| 黄视频网站在线观看| 久久久一本精品| 日本成人中文字幕在线视频| 国产亚洲欧美日韩在线观看一区二区| 亚洲人成网站77777在线观看| 大色综合视频网站在线播放| 欧美激情第二页| 欧美激情偷拍自拍| 欧美一区网站| 日韩美女毛片| 国产99精品一区| 免费成人性网站| 美女视频黄 久久| 午夜欧洲一区| 亚洲第一在线| 手机在线电影一区| 日韩国产欧美在线观看| 国产成人精品免费视| 日韩精品欧美| 日韩1区在线| 亚洲色图二区| 99久久精品国产亚洲精品| 鲁大师成人一区二区三区| 国产成人a视频高清在线观看| 成人黄色91| 91精品国产91久久综合| 色天天综合网| 亚洲有吗中文字幕| 国产精品视频3p| 视频在线观看国产精品| 99精品视频免费| 国偷自产av一区二区三区| 天堂成人国产精品一区| 国产欧美日韩综合一区在线播放| 欧美女王vk| 狠狠入ady亚洲精品经典电影| 日韩在线视频精品| 国产视频网站一区二区三区| 99精品视频在线观看播放| 伊伊综合在线| 精品中文字幕一区二区三区| 伊人激情综合| 日韩精品免费视频人成| 久久精品色播| 在线一区视频观看| 麻豆视频久久| 春色校园综合激情亚洲| 国产亚洲观看| 尤物网精品视频| 日本不卡123| 激情五月综合网| 国产精品夜夜夜| 日韩精品一区二区三区免费观影 | 美女av一区| 日韩一区二区在线免费| 日韩极品在线| 免费成人av资源网| 欧美人妖在线| 国产精品传媒精东影业在线| 欧美国产亚洲精品| 亚洲一区激情| 91精品一久久香蕉国产线看观看| 欧美1区2区3区| 麻豆久久久久久久| 日韩香蕉视频| 国产麻豆精品| 日本女优一区| 免费人成黄页网站在线一区二区 | 亚洲狼人精品一区二区三区| 久久精品国产大片免费观看| 亚洲精品777| 牛牛精品成人免费视频| 97精品国产综合久久久动漫日韩 | 韩国三级成人在线| av成人毛片| 天堂99x99es久久精品免费| 玖玖玖国产精品| 日韩中文av| 日韩一区二区三区免费播放| 精品国产91久久久久久浪潮蜜月| 日本在线中文字幕一区二区三区| 精品一区电影| 欧美一区影院| 亚洲一区二区三区四区五区午夜| 国产在线日韩精品| 98精品久久久久久久| 国产精品一区二区中文字幕| 四虎国产精品免费久久| 久久社区一区| 亚洲最大黄网| 超碰在线cao| 精品精品99| 亚洲理伦在线| 人人狠狠综合久久亚洲| 精品视频免费在线观看| 国产欧美在线| 国产视频一区在线观看一区免费| 五月综合久久| 99精品国产在热久久| 国产亚洲精品自拍| 一区二区三区四区精品视频| 精品久久在线| 人人爽香蕉精品| 99热精品久久| 国产精品嫩模av在线| 交100部在线观看| 精品中文字幕一区二区三区av| 欧美日韩播放| 日韩精品一页| 噜噜噜91成人网| 久久精品亚洲欧美日韩精品中文字幕| 亚洲国产片色| 中国字幕a在线看韩国电影| 在线日本高清免费不卡| 久久99精品久久久久久园产越南| 99久久精品一区二区成人| 午夜一区不卡| 欧美影院三区| 日韩中文在线|