What are the estimates of the sizes of each neighborhood

Assignment Help Basic Computer Science
Reference no: EM131221428

Consider the running example of a social network, last shown in Fig. 10.23. Suppose we use one hash function h which maps each node (capital letter) to its ASCII code. Note that the ASCII code for A is 01000001, and the codes for B, C, . . . are sequential, 01000010, 01000011, . . . .

(a) Using this hash function, compute the values of R for each node and radius 1. What are the estimates of the sizes of each neighborhood? How do the estimates compare with reality?

(b) Next, compute the values of R for each node and radius 2. Again compute the estimates of neighborhood sizes and compare with reality.

(c) The diameter of the graph is 3. Compute the value of R and the size estimate for the set of reachable nodes for each of the nodes of the graph.

(d) Another hash function g is one plus the ASCII code for a letter. Repeat (a) through (c) for hash function g. Take the estimate of the size of a neighborhood to be the average of the estimates given by h and g. How close are these estimates?

1755_33484a92-5078-4e29-95fd-170ce84970a1.png

Reference no: EM131221428

Questions Cloud

Mean and standard deviation of a sample : A statistics practitioner is in the process of testing to determine whether is enough evidence to infer that the population mean is different from 180. She calculated the mean and standard deviation of a sample of 200 observations as X and.
What you understand about concept of net regulatory burden : What do you understand about the concept of net regulatory burden? Why should the government put in so much effort in regulating and monitoring the activities of the financial institutions?
Tension between arrows impossibility theorem : Why is Arrow's Impossibility Theorem relevant for social choice but not for individual choice? What role does cost-benefit analysis play in resolving the tension between Arrow's Impossibility Theorem and the need to make social choices?
What is the companys dividend yield ratio : Mihok Corporation has provided the following financial data: Year 2 Year 1 Stockholders’ equity: Common stock, $3 par value $300,000 $300,000 Additional paid-in capital—common stock 100,000 100,000 Retained earnings 375,000 370,000. What is the compa..
What are the estimates of the sizes of each neighborhood : Using this hash function, compute the values of R for each node and radius 1. What are the estimates of the sizes of each neighborhood? How do the estimates compare with reality?
Article on changes in spain wine industry : The article notes that Spanish and Italian wine were exported for the same price in 2000, but in 2014, "Italy was selling its wine for an average of $2.78... while Spain's sold for $1.30."
How idea of redemption play out specifically in counseling : How might the idea of redemption play out specifically in counseling? Have you any examples of such you wish to share?
What constitutes good business writing : In the next thirty (30) minutes, please write a letter to me answering to the best of your ability the following questions: What constitutes good (versus poor) business writing
Reduction in the number of craft brewers : Which of the four market structures do you think best fits the craft beer industry?  Explain. Explain why even with a 6% increase in craft beer sales, which is noted, "many industries... would kill for", there will likely still be a significant red..

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Four cloud computing service models

In your current business environment, or one you were in at one time, which of the four cloud computing service models do you think might be good for that company to consider? How would a change to one of the cloud computing service models change ..

  True market competition among other physicians

How does physicians that are not hospital employees allows for true market competition among other physicians?

  Why do not we require the try catch block

why do not we require the try catch block

  Finding instruction format for indirect addressing

Determine the instruction format, considering that there is no bit for indirect addressing.

  How many inherited classes are defined in the code

1. Which function(s) is/are being overloaded on the code? (Check all that apply) *  void sort(int A[], int size)  bool testIfSorted(int A[], int size)  long getNumCmps()

  What protocol unit is being used in layer 2

Network switches provide essential connectivity in local and wide area networks. Some of them run in multilayer between layers 2 and 3. What protocol unit is being used in layer 2?

  Discuss the costs and support considerations of the web

Based on your research, write a 6-8 page paper that researches the use, adoption, and implementations of two different Web server technologies. The paper should also discuss the costs and support considerations of the Web server applications.

  Describing the hardware and software used to support

Write a 1100-1350 word paper describing the hardware and software used to support personal, workgroup, and enterprise computing within your current organization, an organization with which you are familiar, or an organization that you can inte..

  Business process engineering

Does LEAN practice concepts align closely with Business Process Engineering?

  Microsoft project tool easy

Did you find the Microsoft Project tool easy to use? What is your best feature of the tool

  Have two or more collections of data

This assignment is to summarize everything that we have addressed in the XML Applications course, and provide a mechanism to demonstrate your knowledge in a pragmatic way.

  Compare and contrast the data communication technologies

Compare and contrast the data communication technologies of guided media and unguided media. This should include transmission media, data link control protocols, and multiplexing. Compare digital transmission to analog transmission to determine the a..

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