View source: R/influence_maximization.R
influence_ic | R Documentation |
Calculates influence of k nodes under Independent Cascade model
influence_ic(graph, seed, steps, prob)
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 |
output containing summary, including no. of nodes activated and time taken
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.