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

  Difference between an email client and web-based email

Describe the protection measures you use to keep your computers safe. Antivirus? Firewall? Malware Blockers?

  How the tree will shrink and show the final tree

how the tree will shrink and show the final tree

  What is the position of the first queue element

Suppose that queue is implemented as an array with the special reserved slot, as described in this chapter. Also, suppose that the size of the array implementing queue is 100. If the value of queueFront is 50, what is the position of the first queue ..

  Necessary part of any business

1. It is common knowledge that employees are a necessary part of any business. Identify three (3) best practices in the user domain and suggest the control type(s) (technical or manual) that are best suited to monitor each best practice.

  Beneficial for bulky data accessing on page

Write a Program using Skip and Take operators. How can it beneficial for bulky data accessing on page?

  Show with diagrams how the median filters work

Explain why in some image processing scenarios, filters are used instead of point operations on pixel values Show with diagrams how the Median Filters work

  Access mode in cisco networking

What is the difference between trunk mode and access mode in Cisco networking?

  Write a java program that reads in a user-entered string

Write a Java program that reads in a user-entered string and determine whether it is a palindrome or not. Consider using the trim() function in the String class to get rid of all the empty spaces.

  The elements manipulated in spreadsheet applications

The elements manipulated in spreadsheet applications and VBA programming. e.g. workbook, worksheet, chart, range, etc.

  Design an appropriate interface to enable the state

Design an appropriate interface to enable the state of all eight switches to be read simultaneously as a single byte. Assume the bus is synchronous and that it uses the timing sequence of Figure 7.4.

  Identify the components of data model

Identify the components of data model: Define the entities, primary keys, and relationships that are used to define the data model for your project.

  Subroutine that can multiply two 32-bit unsigned integer

The caller pushes the multiplicand into the stack first and then pushes the multiplier. The pointer to the buffer to hold the product is passed in index register X.

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