influence_ic: Calculates influence of k nodes under Independent Cascade...

View source: R/influence_maximization.R

influence_icR Documentation

Calculates influence of k nodes under Independent Cascade model

Description

Calculates influence of k nodes under Independent Cascade model

Usage

influence_ic(graph, seed, steps, prob)

Arguments

graph

is the igraph object

seed

is the initial seed nodes passed

steps

is the time steps for which, the diffusion process should run. If exhaustive run is required, provide a high value (like 100). Default value is 1

prob

is the probability of activation of a neighbour node. This is applicable only to IC model currently

Value

output containing summary, including no. of nodes activated and time taken


seekme94/influence.mining documentation built on Aug. 2, 2022, 10:19 p.m.