国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看

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

代寫(xiě)CS345、代做Java,Python程序設(shè)計(jì)

時(shí)間:2023-12-21  來(lái)源:合肥網(wǎng)hfw.cc  作者:hfw.cc 我要糾錯(cuò)


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.

請(qǐng)加QQ:99515681 或郵箱:99515681@qq.com   WX:codehelp

 

掃一掃在手機(jī)打開(kāi)當(dāng)前頁(yè)
  • 上一篇:XJCO3811代寫(xiě)、C++程序設(shè)計(jì)代做
  • 下一篇:COMP 250代做、代寫(xiě)java編程設(shè)計(jì)
  • 無(wú)相關(guān)信息
    合肥生活資訊

    合肥圖文信息
    流體仿真外包多少錢(qián)_專(zhuān)業(yè)CFD分析代做_友商科技CAE仿真
    流體仿真外包多少錢(qián)_專(zhuān)業(yè)CFD分析代做_友商科
    CAE仿真分析代做公司 CFD流體仿真服務(wù) 管路流場(chǎng)仿真外包
    CAE仿真分析代做公司 CFD流體仿真服務(wù) 管路
    流體CFD仿真分析_代做咨詢(xún)服務(wù)_Fluent 仿真技術(shù)服務(wù)
    流體CFD仿真分析_代做咨詢(xún)服務(wù)_Fluent 仿真
    結(jié)構(gòu)仿真分析服務(wù)_CAE代做咨詢(xún)外包_剛強(qiáng)度疲勞振動(dòng)
    結(jié)構(gòu)仿真分析服務(wù)_CAE代做咨詢(xún)外包_剛強(qiáng)度疲
    流體cfd仿真分析服務(wù) 7類(lèi)仿真分析代做服務(wù)40個(gè)行業(yè)
    流體cfd仿真分析服務(wù) 7類(lèi)仿真分析代做服務(wù)4
    超全面的拼多多電商運(yùn)營(yíng)技巧,多多開(kāi)團(tuán)助手,多多出評(píng)軟件徽y1698861
    超全面的拼多多電商運(yùn)營(yíng)技巧,多多開(kāi)團(tuán)助手
    CAE有限元仿真分析團(tuán)隊(duì),2026仿真代做咨詢(xún)服務(wù)平臺(tái)
    CAE有限元仿真分析團(tuán)隊(duì),2026仿真代做咨詢(xún)服
    釘釘簽到打卡位置修改神器,2026怎么修改定位在范圍內(nèi)
    釘釘簽到打卡位置修改神器,2026怎么修改定
  • 短信驗(yàn)證碼 豆包網(wǎng)頁(yè)版入口 破天一劍 目錄網(wǎng) 排行網(wǎng)

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

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

    国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看
    国产成人艳妇aa视频在线| 国产精品10p综合二区| 国产一区二中文字幕在线看| 国产精品com| 永久免费看av| 精品一区二区三区自拍图片区| 久久久久久久久久久av| 欧美激情综合亚洲一二区| 黄色片视频在线免费观看| 久久久久久久国产| 亚洲国产精品毛片| 国产欧美日韩精品在线观看| 久久精品免费电影| 日韩欧美在线一区二区| 久久久7777| 欧美一区1区三区3区公司| 97精品视频在线| 久久久久久com| 国产精品一区二区三区久久| 久99九色视频在线观看| 免费看黄色a级片| 国产精品老女人视频| 日本一区精品| 国产成人黄色av| 日本一区高清不卡| 久久国产色av免费观看| 日本在线一区| 久久久久久久久久福利| 青青草国产免费| 精品国产美女在线| 免费在线观看毛片网站| 国产精品福利片| 国产欧美综合一区| 一区二区三区三区在线| 成人av网站观看| 午夜精品久久久久久久99热 | 国产伦精品一区二区三区视频孕妇 | 国产成人精品最新| 欧美日韩亚洲一| 国产精品成人一区二区三区吃奶| 精品一区二区三区日本| 欧美大胆在线视频| av 日韩 人妻 黑人 综合 无码| 一区二区不卡在线观看| 久久久综合av| 欧美日韩亚洲免费| 国产精品久久久久av免费| 国产精品有限公司| 日韩中字在线观看| 久久久av一区| 国产欧美亚洲精品| 亚洲国产一区二区三区在线 | 国产一区二区香蕉| 欧美精品福利在线| 久久人人爽人人| 欧美大香线蕉线伊人久久 | av一区二区三区免费观看| 色综合久久88色综合天天提莫| 久久久久久久免费视频| 免费久久99精品国产自| 亚洲一区二区自拍| 国产成人精品一区二区三区| 国产在线久久久| 一区二区精品国产| 久久国产精品久久| 国产伦精品一区二区三区免费视频| 视频一区二区三区在线观看| 国产成人精品一区二区在线| 国产色视频一区| 午夜精品一区二区三区在线视频| 久久久精品欧美| 国产伦理一区二区三区| 青青在线视频免费| 国产综合 伊人色| 久久久久成人精品免费播放动漫| 91免费视频国产| 久久久国产一区二区三区| caopor在线视频| 国产免费一区| 91精品国产777在线观看| 久热国产精品视频| 欧美激情亚洲视频| 午夜啪啪福利视频| 国产精品一区二区三区在线| 久久亚洲精品欧美| 最新不卡av| 欧美成人综合一区| 国产精品久久国产三级国电话系列| 欧美一乱一性一交一视频| 熟女少妇在线视频播放| 国产精品视频区| 久久久免费精品视频| 国产日韩欧美在线观看| 日韩欧美亚洲在线| 亚洲日本精品一区| 欧美成年人视频网站欧美| 久久99导航| 99视频日韩| 免费在线观看毛片网站| 午夜精品亚洲一区二区三区嫩草 | 成人毛片一区二区| 黄色a级片免费看| 日韩偷拍一区二区| 亚洲精品在线观看免费| 久久艹在线视频| 久久精品第九区免费观看| 国产伦精品免费视频| 男人的天堂成人| 日韩国产欧美一区| 欧美一级日本a级v片| 久久99久久99精品中文字幕| 日韩在线不卡视频| 国产成人亚洲精品| 久久网站免费视频| 91久热免费在线视频| 成人动漫在线视频| 国产免费一区二区三区香蕉精| 欧美日韩亚洲免费| 人妻熟女一二三区夜夜爱 | 狠狠色综合网站久久久久久久| 日本一区二区不卡高清更新| 亚洲一区二区在线免费观看| 国产精品第二页| 久久久www成人免费精品张筱雨| 国产成人黄色片| 国产freexxxx性播放麻豆| 91国产精品视频在线| av色综合网| 91精品国产电影| 91高潮在线观看| 国产精品777| 久久久久九九九| 国产成人成网站在线播放青青| 久久综合入口| 国产福利精品av综合导导航| 久热这里只精品99re8久| 久久久人成影片一区二区三区| 国产免费一区二区三区在线能观看| 每日在线更新av| 国产专区一区二区| 国产原创精品| 国产欧美婷婷中文| 97国产精品免费视频| 91精品视频在线看| 久久久这里只有精品视频| 久久人妻无码一区二区| 国产二级片在线观看| www.精品av.com| 国产精品美女午夜av| 另类色图亚洲色图| 欧美激情国产高清| 亚洲.欧美.日本.国产综合在线 | 久久久国产精华液999999| 久草在在线视频| 国产精品视频一区二区高潮 | 插插插亚洲综合网| 亚洲最大福利视频| 视频一区二区三区免费观看| 日韩精品久久久| 黄色国产小视频| 国产欧美日韩免费| 国产精成人品localhost| 日韩专区在线播放| 日韩视频精品在线| 国产精品成人一区二区| 亚洲字幕在线观看| 日韩免费在线看| 精品一区日韩成人| 91精品视频免费看| 久久精品99无色码中文字幕| 超在线视频97| 日韩不卡av| 国产日韩一区二区在线| 91国在线精品国内播放| 国产精品视频网站在线观看| 亚洲一区二区三区精品视频 | 久久国产精品高清| 国产精品二区三区| 欧美一区二区三区综合| 海角国产乱辈乱精品视频| www.av毛片| 国产精品夫妻激情| 日本久久久久亚洲中字幕| 国产亚洲精品久久久久久久| 久久免费高清视频| 精品乱码一区| 日本高清不卡三区| 国产一区二区色| 久久综合给合久久狠狠色| 久久久久久久av| 欧美激情亚洲综合一区| 奇米888一区二区三区| 奇米精品一区二区三区| 国产一区二区在线播放 | 免费一级特黄特色毛片久久看| 国产乱码一区| 久久久久久久激情| 久久夜色精品亚洲噜噜国产mv| 一本一本a久久| 日本三级久久久|