Find the largest number of nodes

Assignment Help Computer Networking
Reference no: EM13533703

1. Consider the grid graph in the below figure. All nodes will be activated according to the Deterministic Linear Threshold model with the threshold function ??(u) =2. That is an inactive node at round ?? will be activated in the round ?? + 1 if and only if it is adjacent to at least 2 active nodes.

917_Deterministic Linear Threshold model.png

a) Find the largest number of nodes that can be activated in the end by selecting only one node into the seed set (influence maximization in deterministic threshold with ?? = 1).

b) Find the largest number of nodes that can be activated in the end by selecting two nodes into the seed set (influence maximization in deterministic threshold with ?? = 2).

2. Implement the greedy algorithm for the influence maximization under the independent cascade model. The input is a directed graph ?? = (??, ??) in which each edge (u,v) exists with a probability 0 ≤ puv ≤ 1, and a number ?? ≤ |??| . The output is a seed set of ?? vertices that can be selected to maximize the expected number influenced (activated) nodes in the end. The greedy algorithm selects in each step a node v that maximizes the gain Δ??(v) = ??(?? + {v}) -??(??).

Input: The file "graph.txt" includes multiples lines in which the first line contains three integers n,m, and k that correspond to the number of nodes, the number of edges, and the size of the seed set, respectively. Each of the following m lines contain three numbers u, v, and ??uv separated by spaces, to denote an edge from u to v with a probability of existence ??uv. Nodes are numbered from 1 to n.

The output file "im.txt" contains exactly 2 lines in which the first line contains ?? vertices found by the greedy algorithm and the second line contains the expected number of influenced nodes in the end.

Reference no: EM13533703

Questions Cloud

State the concept that matter is composed of tiny discrete : To whom is the concept that matter is composed of tiny discrete particles generally attributed to
Explain what is the electronic geometry : What is the ground state electronic configuration for H2Se. What is the electronic geometry. What is the molecular geometry.
Calculate the combined mass of pluto and charon : Pluto's moon Charon orbits Pluto every 6.4 days with a semimajor axis of 19,700 kilometers. Calculate the combined mass of Pluto and Charon
Inner mitochondrial membrane : Which enzyme of the TCA cycle is physically associated with the inner mitochondrial membrane?
Find the largest number of nodes : Find the largest number of nodes that can be activated in the end by selecting only one node into the seed set
Use the binomial expansion equation to calculate probability : Use the binomial expansion equation to calculate the probability that in a family of four children from a family where both parentsare heterozygous for blue eyes (Bb x Bb), one will have blue eyes. Does this answer surprise you?
Explain how many milliliters of the nafor solution : Formic acid, HFor, has a Ka value equal to about 1.8 X 10^-4. A student is asked to prepare a buffer having a pH of 3.40 from a 0.10 M HFor and a 0.10 M NaFor solution. How many milliliters of the NaFor solution should she add to 20 mL of the 0.10..
What is the speed of the mass as it swings : Consider the conical pendulum, a mass on the end of a string, with the other end of the string fixed to the ceiling. what is the speed (in m/s) of the mass as it swings
Find at what average velocity can the motor move the crate : A 5.00-kW motor is used to pull a 20.0-kg crate up a 15.0°-incline of length 4.00 m. At what average velocity can the motor move the crate up the incline

Reviews

Write a Review

Computer Networking Questions & Answers

  Networking and types of networking

This assignment explains the networking features, different kinds of networks and also how they are arranged.

  National and Global economic environment and ICICI Bank

While working in an economy, it has a separate identity but cannot operate insolently.

  Ssh or openssh server services

Write about SSH or OpenSSH server services discussion questions

  Network simulation

Network simulation on Hierarchical Network Rerouting against wormhole attacks

  Small internet works

Prepare a network simulation

  Solidify the concepts of client/server computing

One-way to solidify the concepts of client/server computing and interprocess communication is to develop the requirements for a computer game which plays "Rock, Paper, Scissors" using these techniques.

  Identify the various costs associated with the deployment

Identify the various costs associated with the deployment, operation and maintenance of a mobile-access system. Identify the benefits to the various categories of user, arising from the addition of a mobile-access facility.

  Describe how the modern view of customer service

Describe how the greater reach of telecommunication networks today affects the security of resources which an organisation provides for its employees and customers.

  Technology in improving the relationship building process

Discuss the role of Technology in improving the relationship building process Do you think that the setting of a PR department may be helpful for the ISP provider? Why?

  Remote access networks and vpns

safekeeping posture of enterprise (venture) wired and wireless LANs (WLANs), steps listed in OWASP, Securing User Services, IPV4 ip address, IPV6 address format, V4 address, VPN, Deploying Voice over IP, Remote Management of Applications and Ser..

  Dns

problems of IPV, DNS server software, TCP SYN attack, Ping of Death, Land attack, Teardrop attack, Smurf attack, Fraggle attack

  Outline the difference between an intranet and an extranet

Outline the difference between an intranet and an extranet A programmer is trying to produce an applet with the display shown in Figure 1 below such that whenever one of the checkboxes is selected the label changes to indicate correctly what has..

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