Find Jobs
Hire Freelancers

Home assigment

$30-5000 USD

已关闭
已发布将近 16 年前

$30-5000 USD

货到付款
Please read the specification attached with this bid, Please be sure about the work to be done before bidding here. ## Deliverables Three sources are connected to 3 destinations via a router, and i have to simulate "Equation Based Congestion Control for Unicast Apllications" Can u help in the code, i want to know how to implement it in c++ This is the Figure The above figure shows three sources and three receivers. Assume that S i transmits to Ri. Each source always has packets for its respective receiver. However, its transmission rate is dependent on the given equation. After every time interval, each receiver informs its sender the packet loss rate, which the sender then uses to calculate its transmission rate. The router has a limited size queue, and can transmit one packet every tic. Once a queue is full, any subsequent packets will be discarded. To be realistic, you can set the link speed to M Mbit/s, and simulate transmission delays. Each source has an application that generates packets as follows: 1. Given a load *p* (0<= p <=1). 2. Generate a random number R in the range 0<= R <=1. 3. If R>p, generate a packet in the current time interval. 4. Otherwise, do nothing. The above network can then be simulated as follows: Initialization Set the router's queue size to N, meaning it can hold up to N packets. For each sender, set an initial transmission rate, and determine the time when the first packet is to be generated. Body FOR t=1 to SIM_TIME DO { 1. IF the router's queue is not empty then dequeue a packet, and enqueue that packet in the corresponding receiver's queue. 2. IF a sender has a packet to send THEN - Check if the router's queue is full. If not, enqueue the sender's packet. Otherwise, discard the packet. 3. Determine whether any packet loss rate messages are generated by receivers. If yes, then re -compute the sender's transmission rate. Determine the new time when the next packet will be generated. I.e, t+k, where k is the time interval until the next packet arrives. 4. Collect all required statistics. }
项目 ID: 3927833

关于此项目

1条提案
远程项目
活跃16 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
1威客以均价$34 USD来参与此工作竞标
用户头像
See private message.
$34 USD 在2天之内
5.0 (111条评论)
6.4
6.4

关于客户

INDIA的国旗
zirakpur, India
0.0
0
付款方式已验证
会员自11月 2, 2006起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。