ic_spread_plus: Calculates spread under IC model

ic_spread_plusR Documentation

Calculates spread under IC model

Description

Calculates spread under IC model

Usage

ic_spread_plus(graph, seed, runs = 100, best_node = 0)

Arguments

graph

is the igraph object

seed

is a set of seed (initial nodes)

runs

is the number of times the loop should run

best_node

is the best known node

Value

output average spread

Examples

{
graph <- erdos.renyi.game(500, 0.005)
ic_spread_plus(graph, seed=c(2,5,9,23), runs=10, best_node=2)
}

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