Skip to content

Commit 0f45e4d

Browse files
author
Andreagiovanni Reina
committed
Added code for supplementary figures of results on Erdos-Renyi and Barabasi-Albert networks.
1 parent d34afb4 commit 0f45e4d

File tree

6 files changed

+5188
-1762
lines changed

6 files changed

+5188
-1762
lines changed

conf/DecNet.template.config

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ max_iterations=MAX_TIME
1616
updateConf=UPDATE_CONF
1717
beliefEpsilon=BELIEF_EPSILON
1818
finiteTimeExponent=FINITE_TIME_EXPONENT
19+
misinformed=ALLOW_MISINFO
1920

2021
[SimpleAgent]
2122
accuracyMean=ACC_MEAN

plots/.Rhistory

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,4 @@
11
source("plotDynamicEnvironment.R"); confidenceOverTime("../data/conf-log.txt", step=5)
2-
a
3-
a[-2]
4-
a[-c(1,2)]
5-
source("plotDynamicEnvironment.R"); confidenceOverTime("../data/conf-log.txt", step=5)
6-
source("plotDynamicEnvironment.R"); confidenceOverTime("../data/conf-log.txt", step=5)
7-
source("plotDynamicEnvironment.R"); confidenceOverTime("../data/conf-log.txt", step=5)
8-
source("plotDynamicEnvironment.R"); confidenceOverTime("../data/conf-log.txt", step=5)
9-
source("plotDynamicEnvironment.R"); confidenceOverTime("../data/conf-log.txt", step=5)
102
source("plotDynamicEnvironment.R"); confidenceOverTime("../data/conf-log.txt", step=5)
113
source("plotDynamicEnvironment.R"); repeatConfPlots()
124
source("plotDynamicEnvironment.R"); repeatConfPlots()
@@ -510,3 +502,11 @@ source("plotKicks.R"); plotAll("../results/kick_5/")
510502
source("plotKicks.R"); plotAll("../results/kick_5/")
511503
source("plotKicks.R"); plotAll("../results/kick_5/")
512504
q()
505+
source("plotKicks.R");
506+
generateAllCascadeOnRank("../results/kick_other_nets/")
507+
plotCascadeOnRank("../results/kick_other_nets/","../results/kick_other_nets-plt/",nodes_list=c(50,100),link_list=c(0.2,0.3), edge_list=c(3,5),netTypeList=c("erdos-renyi",'barabasi-albert'),misinfo_list=c('false') )
508+
plotCascadeOnRank("../results/kick_other_nets/","../results/kick_other_nets-plt/",nodes_list=c(50,100),link_list=c(0.2,0.3), edge_list=c(3,5),netTypeList=c("erdos-renyi",'barabasi-albert'),misinfo_list=c('false'),driftStdDev_list=seq(0.05, 0.50,0.05) )
509+
plotCascadeOnRank("../results/kick_other_nets/","../results/kick_other_nets-plt/",nodes_list=c(50,100),link_list=c(0.2,0.3), edge_list=c(3,5),netTypeList=c("erdos-renyi",'barabasi-albert'),misinfo_list=c('false'),driftStdDev_list=seq(0.05, 0.50,0.05), driftbases=c(0.3) )
510+
plotCascadeOnRank("../results/kick_other_nets/","../results/kick_other_nets-plt/",nodes_list=c(50,100),link_list=c(0.2,0.3), edge_list=c(3,5),netTypeList=c("erdos-renyi",'barabasi-albert'),misinfo_list=c('false'),driftStdDev_list=seq(0.05, 0.50,0.05), driftbases=c(0.05,0.1,0.2,0.3) )
511+
source("plotKicks.R"); plotCascadeOnRank("../results/kick_other_nets/","../results/kick_other_nets-plt/",nodes_list=c(50,100),link_list=c(0.2,0.3), edge_list=c(3,5),netTypeList=c("erdos-renyi",'barabasi-albert'),misinfo_list=c('false'),driftStdDev_list=seq(0.05, 0.50,0.05), driftbases=c(0.05,0.1,0.2,0.3) )
512+
q()

0 commit comments

Comments
 (0)