View source: R/influence_mining_framework.R
celf_greedy_framework | R Documentation |
Influence mining framework implementation based on CELF greedy method
celf_greedy_framework( graph, criteria = c("TIME", "BUDGET", "INFLUENCE"), threshold, test_method = c("RESILIENCE", "INFLUENCE_LT", "INFLUENCE_IC") )
graph |
is the igraph object |
criteria |
is the stopping criteria for influence framework. Supported values are TIME, BUDGET and SPREAD |
threshold |
is the limit value for criteria function. The execution steps as soon as criteria meets the threshold value. If the criteria is TIME, then threshold should be defined in seconds |
test_method |
specifies the method to measure influence. Value "RESILIENCE" (number of total nodes REMOVED (NOT THE REMAINING ones as in original resilience function) from the graph); "INFLUENCE_IC" (see simulate_ic method); "INFLUENCE_LT" (see simulate_lt method). Default is "RESILIENCE" |
output object containing influential nodes, time taken and the influence of nodes according the test_method
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.