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

合肥生活安徽新聞合肥交通合肥房產生活服務合肥教育合肥招聘合肥旅游文化藝術合肥美食合肥地圖合肥社保合肥醫院企業服務合肥法律

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

時間:2023-12-21  來源:合肥網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編程設計
  • 無相關信息
    合肥生活資訊

    合肥圖文信息
    流體仿真外包多少錢_專業CFD分析代做_友商科技CAE仿真
    流體仿真外包多少錢_專業CFD分析代做_友商科
    CAE仿真分析代做公司 CFD流體仿真服務 管路流場仿真外包
    CAE仿真分析代做公司 CFD流體仿真服務 管路
    流體CFD仿真分析_代做咨詢服務_Fluent 仿真技術服務
    流體CFD仿真分析_代做咨詢服務_Fluent 仿真
    結構仿真分析服務_CAE代做咨詢外包_剛強度疲勞振動
    結構仿真分析服務_CAE代做咨詢外包_剛強度疲
    流體cfd仿真分析服務 7類仿真分析代做服務40個行業
    流體cfd仿真分析服務 7類仿真分析代做服務4
    超全面的拼多多電商運營技巧,多多開團助手,多多出評軟件徽y1698861
    超全面的拼多多電商運營技巧,多多開團助手
    CAE有限元仿真分析團隊,2026仿真代做咨詢服務平臺
    CAE有限元仿真分析團隊,2026仿真代做咨詢服
    釘釘簽到打卡位置修改神器,2026怎么修改定位在范圍內
    釘釘簽到打卡位置修改神器,2026怎么修改定
  • 短信驗證碼 寵物飼養 十大衛浴品牌排行 suno 豆包網頁版入口 wps 目錄網 排行網

    關于我們 | 打賞支持 | 廣告服務 | 聯系我們 | 網站地圖 | 免責聲明 | 幫助中心 | 友情鏈接 |

    Copyright © 2025 hfw.cc Inc. All Rights Reserved. 合肥網 版權所有
    ICP備06013414號-3 公安備 42010502001045

    国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看
    欧美激情亚洲天堂| 国产精品热视频| 日韩美女免费线视频| 亚洲乱码一区二区三区三上悠亚 | 久久99精品久久久久子伦| 91久久在线视频| 成 年 人 黄 色 大 片大 全| 欧美又粗又长又爽做受| 日韩国产欧美一区| 人人妻人人添人人爽欧美一区 | 日本少妇高潮喷水视频| 日韩中文字幕亚洲精品欧美| 亚洲高清视频一区| 岛国一区二区三区高清视频| 日韩中文不卡| 日韩在线国产| 欧洲精品亚洲精品| 欧美大陆一区二区| 国产熟人av一二三区| 国产免费成人在线| 成人动漫在线视频| 91国产高清在线| 久久精品.com| 国产精品福利无圣光在线一区| 精品不卡在线| 亚洲精品自在在线观看| 日韩三级在线播放| 国产亚洲欧美一区二区| 97国产一区二区精品久久呦| 久久99精品久久久久久三级 | 日韩一区国产在线观看| 日韩免费在线观看av| 妓院一钑片免看黄大片| 国内精品久久久久久久久| 国产色视频一区| 97国产在线播放| 日韩亚洲欧美中文高清在线| 久久电影一区二区| 天天综合狠狠精品| 欧美精彩一区二区三区| 99精品国产一区二区| www.欧美三级电影.com| 久久香蕉频线观| 亚洲国产日韩美| 欧美成人蜜桃| 97精品免费视频| 久久精品美女视频网站| 欧美成人性色生活仑片| 亚洲精品中文字幕在线| 欧美专区第一页| 国产精品自产拍在线观看中文| 国产黄色一级网站| 久久国产精品久久国产精品| 国产精品久久色| 日韩中字在线观看| 国产自产在线视频| 国产va免费精品高清在线| 国产精品久久久久7777| 日韩av电影中文字幕| 蜜臀精品一区二区| 久热免费在线观看| 欧美成人精品一区| 热久久这里只有精品| 国产乱肥老妇国产一区二 | 91精品国产自产91精品| 国产精品情侣自拍| 日韩在线综合网| 国产伦精品一区二区三区高清| 日韩在线欧美在线| 亚洲精品偷拍视频| 国产拍精品一二三| 国产精品旅馆在线| 日韩免费高清在线| 国产精欧美一区二区三区| 麻豆国产va免费精品高清在线| 秋霞久久久久久一区二区| 91免费在线观看网站| 精品久久久久久无码中文野结衣| 欧美在线视频a| 久久99精品久久久久久青青日本 | 欧美极品欧美精品欧美图片| 国产精彩免费视频| 中文字幕日韩精品久久| 国内精品久久国产| 日韩亚洲精品视频| 日本电影一区二区三区| 国产激情在线观看视频| 亚洲v日韩v欧美v综合| 91九色在线观看| 亚洲在线免费观看| av观看久久| 亚洲欧美国产不卡| 久久久亚洲精品视频| 天堂精品视频| 国产成人福利网站| 欧美一区二区三区在线免费观看| 91九色极品视频| 懂色av粉嫩av蜜臀av| 国产福利一区二区三区在线观看| 色之综合天天综合色天天棕色| 国产成人精品免费视频| 日av中文字幕| 国产精品美腿一区在线看| 免费不卡亚洲欧美| 超碰日本道色综合久久综合| 国产日韩精品推荐| 在线观看欧美一区| 91免费在线观看网站| 日本一区二区在线| 日日摸夜夜添一区| 激情五月开心婷婷| 欧美激情网友自拍| 久久久之久亚州精品露出| 日本精品久久久久久久| 久久国产一区二区三区| 国产日韩视频在线播放| 亚洲自拍小视频| 久久国产精品免费观看| 黄色激情在线视频| 欧美精品福利视频| 91av网站在线播放| 日韩日韩日韩日韩日韩| 国产精品爽黄69天堂a| 国产日韩欧美一二三区| 亚洲国产精品久久久久久女王| 国产第一页视频| 免费看黄在线看| 亚洲黄色成人久久久| 精品国产自在精品国产浪潮 | 九色91国产| 国产一区精品在线| 亚洲一区二区中文| 国产第一页视频| 国产在线98福利播放视频| 亚洲高潮无码久久| 国产精品美女免费视频| 91精品视频免费| 国模私拍一区二区三区| 午夜精品久久久久久99热| 国产精品美女主播在线观看纯欲| 99国内精品久久久久久久软件| 欧美精品久久96人妻无码| 亚洲精品国产精品国自产| 国产精品美女999| 国产成人一区二区三区电影| 国产亚洲二区| 日韩欧美在线电影| 欧美xxxx综合视频| 国产精品∨欧美精品v日韩精品| 蜜桃传媒视频第一区入口在线看| 亚洲精品视频一区二区三区 | 欧美成人综合一区| 亚洲高清123| 久久成年人免费电影| 久久av免费一区| 97国产精品视频| 国产一区深夜福利| 日韩aⅴ视频一区二区三区| 久久艳片www.17c.com| 久久噜噜噜精品国产亚洲综合| 国产日韩av在线| 男人舔女人下面高潮视频| 亚洲精品一区二区三区av| 国产精品对白刺激久久久| 久久精品国产sm调教网站演员| 9a蜜桃久久久久久免费| 国产在线精品一区免费香蕉| 欧美一二三视频| 大j8黑人w巨大888a片| 中文字幕无码精品亚洲35| 久久中文字幕一区| 国产精品视频久久久| 久久久久久精| 久久天堂国产精品| 超碰成人在线免费观看| 国产亚洲综合视频| 国产一区 在线播放| 欧美精品成人一区二区在线观看| 欧洲成人一区二区| 欧美怡红院视频一区二区三区| 日韩免费观看av| 日韩视频精品| 欧美与黑人午夜性猛交久久久 | 99在线观看视频网站| 成人精品在线视频| 成人毛片100部免费看| 国产精品中文在线| 国产精品一区av| 国产精品一区而去| 成人在线观看a| 91久久精品一区二区别| 91久久偷偷做嫩草影院| 91国产精品视频在线| 国产精品ⅴa在线观看h| 久久久神马电影| 久久久久成人网| 亚洲一区二区久久久久久久| 欧美激情伊人电影| 亚洲视频电影| 欧美一级淫片播放口|