Design analgorithm that decides for each node

Assignment Help Data Structure & Algorithms
Reference no: EM1361885

A sensor network is organized by a tree T, where the root s corresponds to the base station which receives data from every other node. We assume the time is divided into a continuous sequence of slots of fixed length, starting from slot 0, 1, 2, .... Moreover, we assume:

(1) Every node (sensor) has a unit of data to send to its father which needs one time slot.

(2) A father node can receive only one unit of data in each time slot from one child.

(3) A father node cannot start sending data to its own father until he has received all data from his children.

(4) Once a node starts sending data, it cannot stop in the middle until finish. The number of time slots needed is equal to the total number of units of data received plus one for his own data.

(5) There are n leave nodes.

Design an O(n) algorithm that decides (schedules) for each node at which time slot to start sending data such that the total number of time (slots) is minimized. We assume the schedule stats from slot 0. The following figure shows an example.

Reference no: EM1361885

Questions Cloud

Calculate expected return and standard deviation : Jane is planning investing in three different stocks or creating three distinct two-stock portfolios. Jane considers herself to be a rather conservative investor.
What is the attractive force between the protons : What is the attractive force between the protons. A rocket rises vertically, from rest, with the acceleration of 3.0 m/s2 until it runs out of fuel at an altitude of 1100 m. After this point, its acceleration is that of gravity, downward.
Type of squats and contrast : Choose two different type of squats and contrast the muscles worked. In other words, choose two different mechanics variations and tell us how they work the same muscles a little bit differently.
Explain when a company is contemplating establishing : Explain When a company is contemplating establishing an international presence, what factors may determine whether to operate as a centralized
Design analgorithm that decides for each node : Design an O(n) algorithm that decides (schedules) for each node at which time slot to start sending data such that the total number of time (slots) is minimized.
Regaining cardiovascular endurance : A 30 year old male was able to last 9 minutes on the Bruce protocol sub-max test. What is his VO2Max? Design a six week workout program for him to help him regain his cardiovascular endurance.
Improving muscular endurance : A 25 year old male can only perform 20 consecutive pushups. Where does his range fall? Design a six week long workout protocol for him to improve his muscular endurance.
Create an abstract representation of a generic animal : Create an abstract representation of a generic Animal that has the at least two polymorphic methods for making a sound and showing the image of the animal.
Explain samsung electronic attempt to make profits : Explain Samsung Electronic attempt to make profits from rising consumer demand after the crash. Analyze how both companies attempted to make a profit after the crash

Reviews

Write a Review

Data Structure & Algorithms Questions & Answers

  Implementation of graph

Give the two input nodes after the graph has been built from the command prompt.

  Find fraction of time during which queue grows

Suppose now there are three users. Find the probability that at a given time, all three users are transmitting simultaneously. Find the fraction of time during which the queue grows.

  Computing total number of keys needed in symmetric cipher

Determine the total number of keys that are needed for organization if symmetric cipher is used.

  Creating algorithm broken into sequence of words

Katt wishes you to create an algorithm that, given a string X, determines efficiently how many ways X can be broken up into sequence of words.

  Algorithm-decide whether language recognized by dfa is empty

Give an algorithm to decide whether the language recognized by a DFA is empty. Given two DFAs M1 and M2, give an algorithm to decide whether L(M1)subset or equal to L(M2).

  Data structures for a single algorithm

Data structures for a single algorithm

  Data structures assignment requiring c++ program

You should build enough new roads such that if City A was reachable from City B via some old roads, City A must be reachable from City B via some new roads.

  List of common data structures

Make a list of some of the common data structures provided by C#. You should have a minimum of 4 different data types.

  Write an algorithm to count nodes in a linked list

storage pool and that there is a special null value. Write an algorithm to count the nodes in a linked list with first node pointed to by first."

  Describe algorithm that finds maximum feasible flow in graph

Describe an algorithm that finds a maximum feasible flow in G. Denote by MF(|V|, |E|) the worst-case running time of an ordinary maximum flow algorithm.

  Online vs. face-to-face classes

Communication A significant distinction between online and face-to-face classes lies in the area of communication.

  Cloud computing assignment

WSDL service that receives a request for a stock market quote and returns the quote

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