Skip to content

Commit 8a8ee13

Browse files
author
Andreagiovanni Reina
committed
Big commit with results from AAMAS-2019 (almost-submission) and the asynchrounous update schema
1 parent b55e820 commit 8a8ee13

59 files changed

Lines changed: 9664 additions & 978 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.project

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,15 @@
1010
<arguments>
1111
</arguments>
1212
</buildCommand>
13+
<buildCommand>
14+
<name>de.walware.statet.r.builders.RSupport</name>
15+
<arguments>
16+
</arguments>
17+
</buildCommand>
1318
</buildSpec>
1419
<natures>
1520
<nature>org.python.pydev.pythonNature</nature>
21+
<nature>de.walware.statet.base.StatetNature</nature>
22+
<nature>de.walware.statet.r.RNature</nature>
1623
</natures>
1724
</projectDescription>

conf/AAMAS2019.config

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
[experiment]
2+
randomSeed=2289
3+
numberOfExperiments=3
4+
outputTxtFile=../../data/out.txt
5+
outputPdfFile=../../data/output
6+
cluster=false
7+
8+
[Agent]
9+
# possible decisionModels are [ 'conf-perfect', 'majority-rand', 'belief' ]
10+
decisionModel=conf-perfect
11+
max_iterations=100
12+
# possible updateConfs are [ 'no-up', 'optim-up', 'belief-up', 'finite-time' ]
13+
updateConf=optim-up
14+
beliefEpsilon=0
15+
finiteTimeExponent=0.5
16+
17+
[SimpleAgent]
18+
accuracyMean = 0.6
19+
accuracyStdDev = 0.12
20+
truncatePoor=true
21+
22+
[Network]
23+
number_of_nodes=21
24+
# possible netTypes are [ 'full' , 'erdos-renyi', 'barabasi-albert', 'space', 'soft-rgg', 'from-file', 'from-file-fixComm' ]
25+
netType=space
26+
number_of_edges=6
27+
link_probability=0.4
28+
area_size=1
29+
communication_radius=0.25
30+
coordinates_file=../../kilobots/data/log_confsens_keep2.txt
31+
periodic=false
32+
33+
[Move]
34+
dynamic=false
35+
speed=0.05
36+
change_direction_deg_stddev=45
37+
plotTrajectory=true

conf/AsynchK.config

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
[experiment]
2+
randomSeed=2289
3+
#2289
4+
# bad case for space with size 1 and range 0.3 seed: 1670054
5+
numberOfExperiments=1
6+
repetitionsPerDDM=1
7+
outputTxtFile=../../data/out.txt
8+
outputPdfFile=../../data/output
9+
cluster=false
10+
11+
[Agent]
12+
# possible agentTypes are [ 'simple' , 'DDM' ]
13+
agentType=DDM
14+
max_time=100
15+
# possible updateModel are [ 'no-up', 'conf-kick', 'thresh-kick' ]
16+
updateModel=conf-kick
17+
18+
[SimpleAgent]
19+
accuracyMean = 0.6
20+
accuracyStdDev = 0.12
21+
truncatePoor=true
22+
23+
[DDM]
24+
# possible driftDistributions are [ 'uniform', 'normal', 'from_accuracy' ]
25+
driftDistribution=uniform
26+
baseDrift=0.1
27+
driftStdDev=0.5
28+
randomDriftRangeMin=-1.5
29+
randomDriftRangeMax=1.5
30+
noiseStdDev=0.5
31+
dt=0.01
32+
threshold=10
33+
prior=0.6
34+
35+
[Network]
36+
number_of_nodes=20
37+
# possible netTypes are [ 'full' , 'erdos-renyi', 'barabasi-albert', 'space', 'soft-rgg', 'from-file', 'from-file-fixComm' ]
38+
netType=space
39+
number_of_edges=20
40+
link_probability=0.4
41+
area_size=1
42+
communication_radius=0.25
43+
coordinates_file=../../kilobots/data/log_confsens_keep2.txt
44+
periodic=false
45+
46+
[Move]
47+
dynamic=false
48+
speed=0.05
49+
change_direction_deg_stddev=45
50+
plotTrajectory=true

conf/AsynchK.template.config

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
[experiment]
2+
randomSeed=SEED
3+
numberOfExperiments=NUM_EXP
4+
repetitionsPerDDM=NUM_RUN
5+
outputTxtFile=OUT_TXT
6+
outputPdfFile=none
7+
cluster=true
8+
9+
[Agent]
10+
# possible agentTypes are [ 'simple' , 'DDM' ]
11+
agentType=AGENT_TYPE
12+
max_time=MAX_TIME
13+
# possible updateModel are [ 'no-up', 'conf-kick', 'thresh-kick' ]
14+
updateModel=UPDATE_MODEL
15+
16+
[SimpleAgent]
17+
accuracyMean=ACC_MEAN
18+
accuracyStdDev=ACC_STD_DEV
19+
truncatePoor=ACC_TRUNCATED
20+
21+
[DDM]
22+
# possible driftDistributions are [ 'uniform', 'normal', 'from_accuracy' ]
23+
driftDistribution=DDM_DRIFT_DIST
24+
baseDrift=DDM_BASE_DRIFT
25+
driftStdDev=DDM_DRIFT_STD_DEV
26+
randomDriftRangeMin=DDM_DRIFT_RANGE_MIN
27+
randomDriftRangeMax=DDM_DRIFT_RANGE_MAX
28+
noiseStdDev=DDM_NOISE_STD_DEV
29+
dt=0.01
30+
threshold=THRESHOLD
31+
32+
[Network]
33+
number_of_nodes=NUM_NODES
34+
# possible netTypes are [ 'full' , 'erdos-renyi', 'barabasi-albert' ]
35+
netType=NET_TYPE
36+
number_of_edges=NUM_EDGES
37+
link_probability=LINK_PROBABILITY
38+
area_size=ENV_SIZE
39+
communication_radius=INTERACTION_RADIUS
40+
coordinates_file=none
41+
periodic=PERIODICBOUND
42+
43+
[Move]
44+
dynamic=DYNAMICNET
45+
speed=AGENTSPEED
46+
change_direction_deg_stddev=MOVE_STDDEV
47+
plotTrajectory=false

conf/DecNet.config

Lines changed: 29 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,28 @@
11
[experiment]
22
randomSeed=2289
3-
numberOfExperiments=1
4-
repetitionsPerDDM=2
3+
#2289
4+
# bad case for space with size 1 and range 0.3 seed: 1670054
5+
numberOfExperiments=6
6+
repetitionsPerDDM=1
57
outputTxtFile=../../data/out.txt
68
outputPdfFile=../../data/output
79
cluster=false
810

911
[Agent]
1012
# possible agentTypes are [ 'simple' , 'DDM' ]
11-
agentType=DDM
12-
# possible decisionModels are [ 'conf-perfect', 'majority-rand', 'majority-bias', 'majority-inhibit', 'best-acc', 'best-conf', 'log-odds' ]
13-
decisionModel=log-odds
13+
agentType=simple
14+
# possible decisionModels are [ 'conf-perfect', 'majority-rand', 'majority-bias', 'majority-inhibit', 'best-acc', 'best-conf', 'log-odds-perfect', 'log-odds-combo', 'log-odds-distr', 'log-odds-approx', 'belief' ]
15+
decisionModel=conf-perfect
16+
max_iterations=100
17+
# possible updateConfs are [ 'no-up', 'theta-up', 'theta-norm', 'optim-up', 'belief-up', 'finite-time' ]
18+
updateConf=finite-time
19+
beliefEpsilon=0
20+
finiteTimeExponent=0.5
1421

1522
[SimpleAgent]
1623
accuracyMean = 0.6
17-
accuracyStdDev = 0.3
24+
accuracyStdDev = 0.12
25+
truncatePoor=true
1826

1927
[DDM]
2028
# possible driftDistributions are [ 'uniform', 'normal', 'from_accuracy' ]
@@ -25,13 +33,22 @@ randomDriftRangeMin=-1
2533
randomDriftRangeMax=1
2634
noiseStdDev=0.5
2735
dt=0.01
28-
interrogationTime=2
2936
threshold=1
37+
interrogationTime=2
3038

3139
[Network]
32-
number_of_nodes=20
33-
# possible netTypes are [ 'full' , 'erdos-renyi', 'barabasi-albert' ]
34-
netType=full
35-
number_of_edges=3
36-
link_probability=0.3
40+
number_of_nodes=60
41+
# possible netTypes are [ 'full' , 'erdos-renyi', 'barabasi-albert', 'space', 'soft-rgg', 'from-file', 'from-file-fixComm' ]
42+
netType=space
43+
number_of_edges=20
44+
link_probability=0.4
45+
area_size=1
46+
communication_radius=0.25
47+
coordinates_file=../../kilobots/data/log_confsens_keep2.txt
48+
periodic=false
3749

50+
[Move]
51+
dynamic=false
52+
speed=0.05
53+
change_direction_deg_stddev=45
54+
plotTrajectory=true

conf/DecNet.template.config

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,18 @@ cluster=true
99
[Agent]
1010
# possible agentTypes are [ 'simple' , 'DDM' ]
1111
agentType=AGENT_TYPE
12-
# possible decisionModels are [ 'conf-perfect', 'majority-rand', 'majority-bias', 'majority-inhibit', 'best-acc', 'best-conf', 'log-odds' ]
12+
# possible decisionModels are [ 'conf-perfect', 'majority-rand', 'majority-bias', 'majority-inhibit', 'best-acc', 'best-conf', 'log-odds-perfect', 'log-odds-combo', 'log-odds-distr', 'log-odds-approx' ]
1313
decisionModel=DEC_MODEL
14+
max_iterations=MAX_TIME
15+
# possible updateConfs are [ 'no-up', 'theta-up', 'theta-norm', 'optim-up', 'belief-up', 'finite-time' ]
16+
updateConf=UPDATE_CONF
17+
beliefEpsilon=BELIEF_EPSILON
18+
finiteTimeExponent=FINITE_TIME_EXPONENT
1419

1520
[SimpleAgent]
16-
accuracyMean = ACC_MEAN
17-
accuracyStdDev = ACC_STD_DEV
21+
accuracyMean=ACC_MEAN
22+
accuracyStdDev=ACC_STD_DEV
23+
truncatePoor=ACC_TRUNCATED
1824

1925
[DDM]
2026
# possible driftDistributions are [ 'uniform', 'normal', 'from_accuracy' ]
@@ -34,4 +40,13 @@ number_of_nodes=NUM_NODES
3440
netType=NET_TYPE
3541
number_of_edges=NUM_EDGES
3642
link_probability=LINK_PROBABILITY
43+
area_size=ENV_SIZE
44+
communication_radius=INTERACTION_RADIUS
45+
coordinates_file=none
46+
periodic=PERIODICBOUND
3747

48+
[Move]
49+
dynamic=DYNAMICNET
50+
speed=AGENTSPEED
51+
change_direction_deg_stddev=MOVE_STDDEV
52+
plotTrajectory=false

conf/deadlock-flipping.config

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
[experiment]
2+
randomSeed=91560
3+
numberOfExperiments=1
4+
repetitionsPerDDM=1
5+
outputTxtFile=../../data/out.txt
6+
outputPdfFile=../../data/output
7+
cluster=false
8+
9+
[Agent]
10+
# possible agentTypes are [ 'simple' , 'DDM' ]
11+
agentType=simple
12+
# possible decisionModels are [ 'conf-perfect', 'majority-rand', 'majority-bias', 'majority-inhibit', 'best-acc', 'best-conf', 'log-odds-perfect', 'log-odds', 'log-odds-line' ]
13+
decisionModel=conf-perfect
14+
# possible updateConfs are [ 'no-up', 'theta-up', 'theta-norm', 'optim-up' ]
15+
updateConf=optim-up
16+
17+
[SimpleAgent]
18+
accuracyMean = 0.6
19+
accuracyStdDev = 0.12
20+
truncatePoor=true
21+
22+
[DDM]
23+
# possible driftDistributions are [ 'uniform', 'normal', 'from_accuracy' ]
24+
driftDistribution=from_accuracy
25+
baseDrift=0.1
26+
driftStdDev=0.5
27+
randomDriftRangeMin=-1
28+
randomDriftRangeMax=1
29+
noiseStdDev=0.5
30+
dt=0.01
31+
interrogationTime=2
32+
threshold=1
33+
34+
[Network]
35+
number_of_nodes=11
36+
# possible netTypes are [ 'full' , 'erdos-renyi', 'barabasi-albert' ]
37+
netType=barabasi-albert
38+
number_of_edges=10
39+
link_probability=0.8
40+

conf/deadlock-stuck.config

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
[experiment]
2+
randomSeed=18312
3+
numberOfExperiments=1
4+
repetitionsPerDDM=1
5+
outputTxtFile=../../data/out.txt
6+
outputPdfFile=../../data/output
7+
cluster=false
8+
9+
[Agent]
10+
# possible agentTypes are [ 'simple' , 'DDM' ]
11+
agentType=simple
12+
# possible decisionModels are [ 'conf-perfect', 'majority-rand', 'majority-bias', 'majority-inhibit', 'best-acc', 'best-conf', 'log-odds-perfect', 'log-odds', 'log-odds-line' ]
13+
decisionModel=conf-perfect
14+
# possible updateConfs are [ 'no-up', 'theta-up', 'theta-norm', 'optim-up' ]
15+
updateConf=optim-up
16+
17+
[SimpleAgent]
18+
accuracyMean = 0.6
19+
accuracyStdDev = 0.12
20+
truncatePoor=true
21+
22+
[DDM]
23+
# possible driftDistributions are [ 'uniform', 'normal', 'from_accuracy' ]
24+
driftDistribution=from_accuracy
25+
baseDrift=0.1
26+
driftStdDev=0.5
27+
randomDriftRangeMin=-1
28+
randomDriftRangeMax=1
29+
noiseStdDev=0.5
30+
dt=0.01
31+
interrogationTime=2
32+
threshold=1
33+
34+
[Network]
35+
number_of_nodes=11
36+
# possible netTypes are [ 'full' , 'erdos-renyi', 'barabasi-albert' ]
37+
netType=erdos-renyi
38+
number_of_edges=10
39+
link_probability=0.3
40+

0 commit comments

Comments
 (0)