What is the number of triangles in a complete graph

Assignment Help Computer Networking
Reference no: EM13342956

1. A triangle in a graph is defined as a triple of vertices (u, v, w) in which (u, v), (v, w) and (u, w) are edges in the graph. Answer the following questions and provide your best justification.

a. What is the number of triangles in a complete graph with vertices?

b. What is the expected number of triangles in an Erdos-Rényi graph , a graph on vertices where each edge appears with a probability independently?

2. The friendship paradox is the phenomenon that most people have fewer friends than their friends have, on average. This question asks for a mathematical explanation of the phenomenon. Given an undirected graph , where the set of vertices corresponds to the people in the social network, and the set of edges corresponds to the friendship relation between pairs of people. Denote by the degree of vertex .

We can compute the following quantities.

+ The average number of friends of a (random) person in the graph:

2455_What is the number of triangles.png

+ The average number of friends that a typical friend has can be computed as follows.

Choose, uniformly at random, an edge of the graph and an edge of the graph and an end point of that edge, and calculate the degree of the selected end point. That is

445_What is the number of triangles1.png

a) Prove that and provide your best justification.

3. Write a program in your preferred programming language to compute edge betweeness centrality of edges in an undirected graph. The program will read the graph from a file called "graph.txt" and output the edge degree centrality of edges to a file called "edge_betweeness.txt".

The file "graph.txt" includes multiples lines in which the first line contains two integers and that correspond to the number of nodes and edges in the graph. Each of the following lines contain two integers and , separated by one space, to denote an edge from to . Nodes are numbered from to .

The output file "edge_betweeness.txt" contains exactly m lines in which the line is the edge betweeness of the th edge in the input file.

Your submission must include
- The source file(s)
- The sample input/output
- A README file that describes the compile and running instruction

4. Visualize your own Facebook network following the Gephi tutorial in the class.

a. Report top 3 people in your networks according to their degree, betweeness centrality, and eigenvector centrality.

b. Export the final network to a PDF file lastname_firstname.pdf and upload the file to Blackboard.

Attachment:- degree.rar

Reference no: EM13342956

Questions Cloud

What is the final volume of the gas : 0.17 mol of argon gas is admitted to an evacuated 54.83 cm3 container at 27°C. What is the final volume of the gas
How the internet-intranet-e-commerce will be integrated : Describe how the Internet/intranet/e-commerce will be integrated into the business, as well as the benefits that these technologies would bring to the business.
Explain how much mercury will remain after 7 days : The half-life of mercury-197 is 64.1 hours. A. If a patient undergoing a kidney scan is given 5.0 ng of mercury-197, how much will remain after 7 days? B. After 33 days
Estimate the angular acceleration of the disk : A 4-kg block lies on a horizontal table whose coefficient of friction is 0.3. A horizontal rope is redirected by a uniform solid disk (pulley) of mass 2 kg to a mass of 12-kg hanging off the table. What is the angular acceleration of the disk
What is the number of triangles in a complete graph : What is the number of triangles in a complete graph with vertices and what is the expected number of triangles in an Erdos-Rényi graph , a graph on vertices where each edge appears with a probability independently?
How many milliliters must be administered intravenously : A solution of selenium-75, a radioisotope used in the diagnosis of pancreatic disease, is found just prior to administration to have an activity of 44 uCi/mL. How many milliliters should be administered intravenously for a dose of 175 uCi
Determine the standard cost per dress for direct materials : Determine (a) the standard cost per dress for direct materials and ,direct labor; (b) the priceVariance, quantit ariance, and total direct matd4als cost variance; and (c) the rate \ypi, fiance, time' v, lance, and total dire,Sbor cost variance.
What is the output function of the filter : If you input the function x[n]=0,1,0,1,0,1,0,1,0,1 into a digital filter with impulse response h[m]=1,0,1, what is the output function y[n] of the filter
Explain the oxidation number of mn before reaction : What is the oxidation number of Mn before and after the reaction- 5H2AsO3 + 2MnO4- + 6H+ + 2Mn2+ + 5H3AsO4 + 3H2O

Reviews

Write a Review

Computer Networking Questions & Answers

  What to make sure network infrastructure is more secured

The CIO has asked you to explain why you recommend it is so important to secure your Windows and Unix/Linux servers from known shortcomings/vulnerabilities, explain to your CIO what you can do to make sure your network infrastructure is more secur..

  Drawing map of devices and connections internal lan

Now that you know more about ConnectSpree's network, you begin drawing a map of its devices and connections, starting with its internal LAN.

  What are the major business objectives and processes

What are the major business objectives and processes (operations) that the hotel company carries out and list the information systems that are used to support their portal and describe how they are related to the overall business objectives and pro..

  Create duplicate scenarios-modify interarrival for ethernet

Create several duplicate scenarios and modify the interarrival times for all the Ethernet stations to 0.0008, 0.002, 0.003, 0.005, and 0.006, respectively.

  Make link between chemical composition and sensory analysis

Today's customer has a wide variety of options regarding what he or she drinks. A drinker's choice depends on various factors, including mood, venue, and occasion. Coors' goal is to ensure that the customer chooses Coors brands no matter what the ..

  Handling the project

The issues is pharmaceutical(drugs), explain how you would deal with one of the situations listed below which has brought you project to an abrupt stand still, the employer is supposing No responsibility, and wishes you to work it out.

  Identify and briefly explain any four key requirements

An organization called Ranbaxy Inc. has currently 3 divisions in 3 different locations within Sydney city. One of the divisions serves as the company headquarters.

  How do you patch a linux server

How do you patch a Linux server? Using the Internet, research ways that Linux computers are patched. Explain how these procedures differ from patching Windows.

  Arrangement of subnet masks to form subnets for departments

The organization has class C network 200.1.1 and wishes to form subnets for four departments. Write down possible arrangement of subnet masks to make this possible.

  Explore ways to secure a wireless network and present

Explore ways to secure a wireless network and present your findings in a brief report(1 page is fine, more is ok). Talk about your own experiences with using a wireless network, including the things you do to keep the network secure.

  Formulate the ip to maximize profits

A set up cost of $10 is incurred, and if any of product 2 is produced, a setup cost of $20 is incurred. Formulate an IP to maximize profits.

  When was the csiro patent applied

When was the CSIRO patent applied for and in which countries - When will it cease to apply? Are the dates different in different countries, and if so what are some examples of differences?

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