99爱在线视频这里只有精品_窝窝午夜看片成人精品_日韩精品久久久毛片一区二区_亚洲一区二区久久

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

代寫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編程設計
  • 無相關信息
    合肥生活資訊

    合肥圖文信息
    急尋熱仿真分析?代做熱仿真服務+熱設計優(yōu)化
    急尋熱仿真分析?代做熱仿真服務+熱設計優(yōu)化
    出評 開團工具
    出評 開團工具
    挖掘機濾芯提升發(fā)動機性能
    挖掘機濾芯提升發(fā)動機性能
    海信羅馬假日洗衣機亮相AWE  復古美學與現代科技完美結合
    海信羅馬假日洗衣機亮相AWE 復古美學與現代
    合肥機場巴士4號線
    合肥機場巴士4號線
    合肥機場巴士3號線
    合肥機場巴士3號線
    合肥機場巴士2號線
    合肥機場巴士2號線
    合肥機場巴士1號線
    合肥機場巴士1號線
  • 短信驗證碼 豆包 幣安下載 AI生圖 目錄網

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

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

    99爱在线视频这里只有精品_窝窝午夜看片成人精品_日韩精品久久久毛片一区二区_亚洲一区二区久久

          9000px;">

                欧美午夜精品理论片a级按摩| 欧美日本高清视频在线观看| 色综合激情久久| 美女视频网站久久| 亚洲欧美另类久久久精品| 亚洲chinese男男1069| 欧美肥妇free| 日本亚洲一区二区| 久久精品视频网| 99久久综合狠狠综合久久| 国产精品福利一区| 欧美精选午夜久久久乱码6080| 激情综合色综合久久综合| 亚洲欧洲av一区二区三区久久| 欧美精品aⅴ在线视频| 国产精品 日产精品 欧美精品| 亚洲免费伊人电影| 日韩女优电影在线观看| 色悠久久久久综合欧美99| 视频一区视频二区中文字幕| 日韩一区二区免费高清| av资源网一区| 精油按摩中文字幕久久| 亚洲激情在线激情| 日本一区二区三级电影在线观看| 日本乱码高清不卡字幕| 国产成人精品亚洲午夜麻豆| 视频一区视频二区中文| 中文字幕一区二区三中文字幕| 欧美裸体bbwbbwbbw| 成人国产精品免费网站| 另类小说图片综合网| 午夜婷婷国产麻豆精品| 国产精品毛片无遮挡高清| 欧美久久久久久久久久| 色综合色综合色综合| 国产一区二区三区四区五区美女| 亚洲成人免费观看| 一区二区在线观看免费视频播放| 国产欧美精品国产国产专区| 欧日韩精品视频| 99久久国产综合精品女不卡| 秋霞电影网一区二区| 一区二区不卡在线播放 | 亚洲一区在线看| 久久九九99视频| 欧美成人乱码一区二区三区| 欧美三级电影一区| 在线观看日韩电影| 欧美一a一片一级一片| 一本色道亚洲精品aⅴ| 成人av免费在线播放| 成人动漫视频在线| 床上的激情91.| 丁香婷婷综合网| 成人av手机在线观看| 不卡影院免费观看| 91丝袜呻吟高潮美腿白嫩在线观看| 成人久久18免费网站麻豆| 国产精品一区二区久久不卡| 国产91丝袜在线播放九色| 国产成人免费在线视频| 国产一区二区在线看| 国产精一区二区三区| 国产成人亚洲精品青草天美| 国产成人夜色高潮福利影视| www..com久久爱| 欧美伊人久久久久久久久影院| 欧美三区在线视频| 精品国产亚洲在线| 国产日本欧美一区二区| 中文字幕在线观看不卡| 怡红院av一区二区三区| 丝袜国产日韩另类美女| 久久99国产精品尤物| 北条麻妃国产九九精品视频| 91福利在线播放| 精品婷婷伊人一区三区三| 日韩欧美一卡二卡| 国产日韩欧美一区二区三区乱码| 国产精品天干天干在线综合| 一区二区三区日本| 蜜桃视频第一区免费观看| 国产伦精品一区二区三区视频青涩| 国产69精品久久久久毛片| 99天天综合性| 欧美一级精品大片| 亚洲欧美经典视频| 另类调教123区| av动漫一区二区| 欧美一区二区国产| 国产精品久久久久久久久搜平片| 日韩国产精品久久| 国产成人福利片| 欧美日韩一区二区三区视频| 精品国内片67194| 亚洲综合一区二区| 国产成人自拍在线| 91精品国产综合久久久久久 | 秋霞影院一区二区| 白白色亚洲国产精品| 亚洲精品一卡二卡| 国产一区二区精品在线观看| 欧美亚洲国产一区二区三区| 中文字幕成人av| 久久99精品久久久久| 色94色欧美sute亚洲线路一ni| 国产视频一区不卡| 美女网站一区二区| 91久久精品日日躁夜夜躁欧美| 国产欧美一区在线| 蜜桃视频在线观看一区二区| 在线国产电影不卡| 樱桃国产成人精品视频| 成人av资源在线观看| 久久久久久久久久美女| 裸体一区二区三区| 欧美一区二区在线不卡| 日日摸夜夜添夜夜添国产精品 | 麻豆国产欧美一区二区三区| 欧美综合色免费| 亚洲激情一二三区| 色哟哟一区二区三区| 国产亚洲综合在线| 国产伦精品一区二区三区免费迷 | 亚洲国产精品自拍| 99综合电影在线视频| 中文无字幕一区二区三区| 国产成人av影院| 国产精品久久777777| 暴力调教一区二区三区| 最新国产成人在线观看| k8久久久一区二区三区| 亚洲精品久久久蜜桃| 在线视频你懂得一区| 亚洲精选在线视频| 欧美日韩精品三区| 青青青伊人色综合久久| 日韩视频永久免费| 激情综合色播激情啊| 国产农村妇女毛片精品久久麻豆 | 亚洲午夜激情av| 欧美日韩免费一区二区三区视频| 亚洲国产精品精华液网站| 国内精品国产三级国产a久久| 久久九九全国免费| 99久久综合国产精品| 亚洲国产综合在线| 日韩欧美色综合网站| 国产乱子伦视频一区二区三区| 国产精品久久久久久久久搜平片| 日本道色综合久久| 视频一区中文字幕国产| 久久久久久久久久美女| 在线观看亚洲a| 国产精品66部| 亚洲综合偷拍欧美一区色| 日韩一区二区三区电影| 成人免费视频视频在线观看免费| 日韩美女精品在线| 日韩免费视频一区| 色婷婷综合在线| 久久精品国产亚洲高清剧情介绍 | 韩国v欧美v亚洲v日本v| 国产精品美女久久久久aⅴ国产馆| 欧美日韩视频专区在线播放| 亚洲成人动漫在线观看| 日韩一级片网址| 色综合天天做天天爱| 裸体一区二区三区| 一区二区三国产精华液| 精品少妇一区二区三区视频免付费| 国产一区在线观看麻豆| 日韩中文字幕区一区有砖一区 | 日韩欧美一区二区三区在线| 91视频国产资源| 国产成人午夜99999| 日本sm残虐另类| 婷婷中文字幕综合| 中文字幕佐山爱一区二区免费| 日韩一区二区不卡| 欧美日高清视频| 一本一道久久a久久精品| 国内精品国产三级国产a久久| 天天色天天操综合| 尤物av一区二区| 国产精品国产三级国产普通话蜜臀| 日韩精品一区二区三区三区免费| 欧美性生活一区| 欧美专区在线观看一区| jizz一区二区| 99久久国产免费看| 国产成人a级片| 国产大陆亚洲精品国产| 国产精品一二三四| 精品在线亚洲视频| 久久久欧美精品sm网站| 久久久噜噜噜久久中文字幕色伊伊| 欧美一区二区性放荡片| 日韩免费观看2025年上映的电影|