Ask Computer Network & Security Expert

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.

Computer Network & Security, Computer Science

  • Category:- Computer Network & Security
  • Reference No.:- M91070819
  • Price:- $40

Priced at Now at $40, Verified Solution

Have any Question?


Related Questions in Computer Network & Security

Security challenges in emerging networksassignment

Security Challenges in Emerging Networks Assignment Description The purpose of this assignment is to develop skills to independently think of innovation. In this assignment students will first learn how to develop knowle ...

Security challenges in emerging networksassignment

Security Challenges in Emerging Networks Assignment Description The purpose of this assignment is to develop skills to independently think of innovation. In this assignment students will first learn how to develop knowle ...

Security challenges in emerging networksassignment

Security Challenges in Emerging Networks Assignment Description The purpose of this assignment is to develop skills to independently think of innovation. In this assignment students will first learn how to develop knowle ...

Security challenges in emerging networksassignment

Security Challenges in Emerging Networks Assignment Description The purpose of this assignment is to develop skills to independently think of innovation. In this assignment students will first learn how to develop knowle ...

Advanced network design assessment - human factors in

Advanced Network Design Assessment - Human factors in network analysis and design Purpose of the assessment - This assignment is designed to assess students' knowledge and skills related to the following learning outcome ...

Advanced network design assessment - human factors in

Advanced Network Design Assessment - Human factors in network analysis and design Purpose of the assessment - This assignment is designed to assess students' knowledge and skills related to the following learning outcome ...

Assignment descriptionproject scope a typical network

Assignment Description Project Scope: A typical network layout diagram of a firm is given below for illustrative purposes only. The service requirements are enclosed. Figure. Network layout of a firm Service requirements ...

Assignment descriptionproject scope a typical network

Assignment Description Project Scope: A typical network layout diagram of a firm is given below for illustrative purposes only. The service requirements are enclosed. Figure. Network layout of a firm Service requirements ...

After reading this weeks materials please respond to two 2

After reading this week's materials, please respond to TWO (2) of the following questions. AND PROVIDE CITATION IN APA 1. Describe the differences between bus, ring, star and mesh topologies. 2. Explain the TCP/IP Model ...

The abstract should not be more than 250 words describe

The abstract should not be more than 250 words. Describe your project, focusing on research questions and research method for next stage of the project. 1. Introduction [The introduction should describe what the project ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As