|
1 | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | | -<model version="NetLogo 7.0.0-beta0" snapToGrid="false"> |
| 2 | +<model version="NetLogo 7.0.0-beta1" snapToGrid="true"> |
3 | 3 | <code>breed [sheep a-sheep] |
4 | 4 | breed [shepherds shepherd] |
5 | 5 |
|
|
98 | 98 | ; Copyright 1998 Uri Wilensky. |
99 | 99 | ; See Info tab for full copyright and license.</code> |
100 | 100 | <widgets> |
101 | | - <view x="248" wrappingAllowedX="true" y="10" frameRate="30.0" minPycor="-25" height="412" showTickCounter="true" patchSize="8.0" fontSize="10" wrappingAllowedY="true" width="412" tickCounterLabel="ticks" maxPycor="25" updateMode="1" maxPxcor="25" minPxcor="-25"></view> |
102 | | - <plot x="7" autoPlotX="true" yMax="100.0" autoPlotY="true" yAxis="Percent" y="241" xMin="0.0" height="173" legend="false" xMax="300.0" yMin="0.0" xAxis="Time" display="Herding Efficiency" width="230" sizeVersion="0"> |
| 101 | + <view x="270" wrappingAllowedX="true" y="10" frameRate="30.0" minPycor="-25" height="412" showTickCounter="true" patchSize="8.0" fontSize="10" wrappingAllowedY="true" width="412" tickCounterLabel="ticks" maxPycor="25" updateMode="1" maxPxcor="25" minPxcor="-25"></view> |
| 102 | + <button x="137" y="11" height="35" disableUntilTicks="true" forever="true" kind="Observer" width="120">go</button> |
| 103 | + <button x="12" y="11" height="35" disableUntilTicks="false" forever="false" kind="Observer" width="120">setup</button> |
| 104 | + <slider x="10" step="0.01" y="164" max="0.2" width="250" display="sheep-speed" height="50" min="0" direction="Horizontal" default="0.02" variable="sheep-speed"></slider> |
| 105 | + <slider x="10" step="1" y="57" max="100" width="250" display="num-shepherds" height="50" min="0" direction="Horizontal" default="30.0" variable="num-shepherds"></slider> |
| 106 | + <slider x="10" step="1" y="110" max="500" width="250" display="num-sheep" height="50" min="0" direction="Horizontal" default="150.0" variable="num-sheep"></slider> |
| 107 | + <monitor x="690" precision="1" y="10" height="60" fontSize="11" width="230" display="current efficiency">herding-efficiency</monitor> |
| 108 | + <plot x="690" autoPlotX="true" yMax="100.0" autoPlotY="true" yAxis="Percent" y="80" xMin="0.0" height="173" legend="false" xMax="300.0" yMin="0.0" width="230" xAxis="Time" display="Herding Efficiency"> |
103 | 109 | <setup></setup> |
104 | 110 | <update></update> |
105 | 111 | <pen interval="1.0" mode="0" display="efficiency" color="-13345367" legend="true"> |
|
112 | 118 | ]</update> |
113 | 119 | </pen> |
114 | 120 | </plot> |
115 | | - <slider x="38" step="1" y="115" max="500" display="num-sheep" height="33" min="0" direction="Horizontal" default="150.0" variable="num-sheep" width="170" sizeVersion="0"></slider> |
116 | | - <slider x="38" step="1" y="79" max="100" display="num-shepherds" height="33" min="0" direction="Horizontal" default="30.0" variable="num-shepherds" width="170" sizeVersion="0"></slider> |
117 | | - <button x="55" y="38" height="33" disableUntilTicks="false" forever="false" kind="Observer" width="57" sizeVersion="0">setup</button> |
118 | | - <button x="133" y="38" height="33" disableUntilTicks="true" forever="true" kind="Observer" width="57" sizeVersion="0">go</button> |
119 | | - <slider x="38" step="0.01" y="152" max="0.2" display="sheep-speed" height="33" min="0" direction="Horizontal" default="0.02" variable="sheep-speed" width="170" sizeVersion="0"></slider> |
120 | | - <monitor x="63" precision="1" y="192" height="45" fontSize="11" display="current efficiency" width="113" sizeVersion="0">herding-efficiency</monitor> |
121 | 121 | </widgets> |
122 | 122 | <info><![CDATA[## WHAT IS IT? |
123 | 123 |
|
|
0 commit comments