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

  Implement an open hash table

In this programming assignment you will implement an open hash table and compare the performance of four hash functions using various prime table sizes.

  Use a search tree to find the solution

Explain how will use a search tree to find the solution.

  How to access virtualised applications through unicore

How to access virtualised applications through UNICORE

  Recursive tree algorithms

Write a recursive function to determine if a binary tree is a binary search tree.

  Determine the mean salary as well as the number of salaries

Determine the mean salary as well as the number of salaries.

  Currency conversion development

Currency Conversion Development

  Cloud computing assignment

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

  Design a gui and implement tic tac toe game in java

Design a GUI and implement Tic Tac Toe game in java

  Recursive implementation of euclids algorithm

Write a recursive implementation of Euclid's algorithm for finding the greatest common divisor (GCD) of two integers

  Data structures for a single algorithm

Data structures for a single algorithm

  Write the selection sort algorithm

Write the selection sort algorithm

  Design of sample and hold amplifiers for 100 msps by using n

The report is divided into four main parts. The introduction about sample, hold amplifier and design, bootstrap switch design followed by simulation results.

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