Find Jobs
Hire Freelancers

Home assigment

$30-5000 USD

Closed
Posted almost 16 years ago

$30-5000 USD

Paid on delivery
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. }
Project ID: 3927833

About the project

1 proposal
Remote project
Active 16 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
1 freelancer is bidding on average $34 USD for this job
User Avatar
See private message.
$34 USD in 2 days
5.0 (111 reviews)
6.4
6.4

About the client

Flag of INDIA
zirakpur, India
0.0
0
Payment method verified
Member since Nov 2, 2006

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.