To check whether the representation of input elements does

Assignment Help Mathematics
Reference no: EM13357392

To check whether the representation of input elements does not affect the running time of an algorithm.

Suppose you have n video streams that need to be sent, one after another, over a communication link. Stream I consists of a total of bi bits that need to be sent, at a constant rate, over a period of ti seconds. You cannot send two streams at the same time, so you need to determine a schedule for the streams: an order in which to send them. Whichever order you choose, there cannot be any delays between the end of one stream and the start of the next. Suppose you schedule starts at time 0(and therefore ends at time ∑ni=0 ti ,whichever order you chose).we assume that all the values b and ti  are positive integers.

Now, because you are just one user ,the link does not want you taking up too much bandwidth, so it imposes the following constraint ,using a fixed parameter r:

(*) for each natural number t>0,the total number of bits you send over the time interval from 0 to t cannot exceed rt.

Note that this constraint is only imposed for time intervals that start at 0, not for time intervals that start at any other value.

We say that a schedule is valid if it satisfies the constraint (*) imposed by the link.

The problem given a set of n streams, each specified by its number of bits bi and its time duration ti ,as well as the link parameter r, determine whether there exist a valid schedule.

Example: suppose we have n=3 streams, with

(b1, t1)=(2000,1)       (b2, t2)=(6000,2)         (b3, t3)=(2000,1)

and suppose the link's parameter is r=5000.then the schedule that n runs the streams in the order 1,2,3 is valid, since the constant (*) is satisfied:

t=1; the whole first stream has been sent, and 2000<5000

t=2 ; half of the second stream has also been sent.

and 2000+3000 <5000

Similar calculations hold for t=3 and t=4

Give an algorithm that takes a set of n streams, each specified by its number of bits bi and its time duration ti, as well as the link parameter r, and determine whether e there exists a valid schedule .the running time of you algorithm should be polynomial in n.

Reference no: EM13357392

Questions Cloud

Find the length and width of the given rectangle using the : find the length and width of the given rectangle using the area and the relation of length and width.find the length
Find the speed of the cyclist algebraicallybrenda and her : find the speed of the cyclist algebraically.brenda and her husband randy bicycled cross-countrynbsptogether. one
Application of algebra to find the weekly revenueif a : application of algebra to find the weekly revenueif a manufacturer charges q dollars each for footballsnbspthen he can
To prove that the minimal spanning tree in graph is : to prove that the minimal spanning tree in graph is unique.suppose you have n video streams that need to be sent one
To check whether the representation of input elements does : to check whether the representation of input elements does not affect the running time of an algorithm.suppose you have
Verifying some important results over real valued : verifying some important results over real valued functions.prove or disprovelet fgh be real-valued functions and let
Modeled the word problem mathematically like system of : modeled the word problem mathematically like system of equations and solve by the matrix method.a companys employees
Pvc processors use a very high molecular weight acrylic : pvc processors use a very high molecular weight acrylic processing aid for production of rigid pvc foamsheet of high
Modeled the word problem mathematically like system of : modeled the word problem mathematically like system of equations and solve by the matrix method.a companys employees

Reviews

Write a Review

Mathematics Questions & Answers

  What dimensions should the rectangle be

A rancher wants to use 200 feet of fencing to enclosed a rectangular are of 1600 square feet. What dimensions should the rectangle be?

  Question 1imagine that a sample of 400 rental units shows

question 1imagine that a sample of 400 rental units shows thati the distribution of rents paid per month is not

  Geometric mean rate of increase

A recent article suggested that if you earn $25,000 a year today and the inflation rate continues at 3 percent per year, you'll need to make $33,598 in 10 years to have the same buying power.

  How fast is the height of the pile increasing

Gravel is being dumped from a conveyor belt at a rate of 50 cubic feet per minute. It forms a pile in the shape of a right circular cone whose base diameter and height are always equal to each other. How fast is the height of the pile increasing w..

  Find a function in the variable x giving the cost

Letting x denote the length of one side of the base, find a function in the variable x giving the cost (in dollars) of constructing the box.

  How many revolutions per minute does a tire make

Each tire on an automobile has a radius of 1.25 feet. How many revolutions per minute does a tire make when the automobile is traveling at a speed of 88 feet per second?

  Express the surface area of the balloon

A spherical weather balloon is being inflated. Beginning at 19 cm, the radius of the balloon is increasing at the rate of 2 cm per second. Express the surface area of the balloon as a function of time t (in seconds).

  How many fence poles are needed for the fence

A long straight fence having a pole every 8 ft is 1440 ft long. How many fence poles are needed for the fence?

  Express the temperature of the roast 30 minutes

Express the temperature of the roast 30 minutes after being placed in the oven in function notation and then calculate that value.

  What is the probability that the mean annual precipitation

The annual precipitation amounts in a certain mountain range are normally distributed with a mean of 107 inches, and a standard deviation of 10 inches. What is the probability that the mean annual precipitation during 25 randomly picked years will..

  Find application of the binomial distribution to an aircraft

Application of the Binomial Distribution to an Aircraft. Suppose you are flying a four-engine aircraft on a 10-hour transoceanic flight. Assume that it has been established that the probability of an engine of the type you have on your aircraft fa..

  Find the equation of the line drawn between two pointsfind

find the equation of the line drawn between two points.find i write the equation of the line passing through the points

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd