Skip to content

Commit 389868c

Browse files
committed
global max-ticks is now a slider
* The global variable `max-ticks` has been changed from a hidden variable which was set during the setup to a global variable whose value can be adjusted via a slider in the interface * The BehaviorSpace runs have set this variable to the previous and new default: 10000
1 parent fd1911f commit 389868c

File tree

1 file changed

+22
-2
lines changed

1 file changed

+22
-2
lines changed

SocNetABM.nlogo

+22-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ turtles-own [a b theory-jump times-jumped cur-best-th current-theory-info
44

55
globals [th-i-signal indiff-count crit-interactions-th1 crit-interactions-th2
66
confidence-cutoff converged-ticks last-converged-th
7-
max-ticks converge-reporters converge-reporters-values
7+
converge-reporters converge-reporters-values
88
run-start-scientists-save rndseed g-confidence g-depressed-confidence]
99

1010
__includes ["protocol.nls"]
@@ -93,7 +93,6 @@ end
9393
; initializes the hidden variables (= not set in the interface)
9494
to init-hidden-variables
9595
set confidence-cutoff 1 - (1 / 10 ^ 4)
96-
set max-ticks 10000
9796
end
9897

9998

@@ -602,6 +601,21 @@ NIL
602601
NIL
603602
0
604603

604+
SLIDER
605+
211
606+
457
607+
383
608+
490
609+
max-ticks
610+
max-ticks
611+
0
612+
100000
613+
10000.0
614+
100
615+
1
616+
NIL
617+
HORIZONTAL
618+
605619
@#$#@#$#@
606620
# UNDER CONSTRUCTION
607621

@@ -1181,6 +1195,9 @@ NetLogo 6.0.1
11811195
<enumeratedValueSet variable="crit-jump-threshold">
11821196
<value value="1"/>
11831197
</enumeratedValueSet>
1198+
<enumeratedValueSet variable="max-ticks">
1199+
<value value="10000"/>
1200+
</enumeratedValueSet>
11841201
</experiment>
11851202
<experiment name="crit-interact-base-run" repetitions="10000" runMetricsEveryStep="false">
11861203
<setup>setup new-seed</setup>
@@ -1237,6 +1254,9 @@ NetLogo 6.0.1
12371254
<enumeratedValueSet variable="crit-jump-threshold">
12381255
<value value="1"/>
12391256
</enumeratedValueSet>
1257+
<enumeratedValueSet variable="max-ticks">
1258+
<value value="10000"/>
1259+
</enumeratedValueSet>
12401260
</experiment>
12411261
</experiments>
12421262
@#$#@#$#@

0 commit comments

Comments
 (0)