Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 15 additions & 17 deletions Curricular Models/BEAGLE Evolution/Red Queen.nlogox
Original file line number Diff line number Diff line change
Expand Up @@ -115,18 +115,21 @@ end
; Copyright 2007 Uri Wilensky.
; See Info tab for full copyright and license.]]></code>
<widgets>
<view x="240" wrappingAllowedX="true" y="10" frameRate="30.0" minPycor="-17" height="424" showTickCounter="true" patchSize="12.0" fontSize="10" wrappingAllowedY="true" width="424" tickCounterLabel="ticks" maxPycor="17" updateMode="1" maxPxcor="17" minPxcor="-17"></view>
<button x="117" y="120" height="52" disableUntilTicks="true" forever="true" kind="Observer" width="74" display="Go">go</button>
<button x="35" y="120" height="51" disableUntilTicks="false" forever="false" kind="Observer" width="77" display="setup">setup</button>
<slider x="4" step="1" y="222" max="150" width="204" display="initial-number-frogs" height="50" min="1" direction="Horizontal" default="150.0" variable="initial-number-frogs"></slider>
<slider x="4" step="1" y="277" max="150" width="203" display="initial-number-snakes" height="50" min="1" direction="Horizontal" default="150.0" variable="initial-number-snakes"></slider>
<button x="65" y="177" height="40" disableUntilTicks="true" forever="false" kind="Observer" width="92" display="step once">go</button>
<monitor x="3" precision="3" y="562" height="60" fontSize="11" width="100" display="Snakes">count snakes</monitor>
<monitor x="3" precision="3" y="497" height="60" fontSize="11" width="100" display="Frogs">count frogs</monitor>
<monitor x="108" precision="3" y="497" height="60" fontSize="11" width="125" display="Average Poison">average-poison</monitor>
<monitor x="108" precision="3" y="562" height="60" fontSize="11" width="126" display="Average resistance">average-resistance
<view x="244" wrappingAllowedX="true" y="9" frameRate="30.0" minPycor="-17" height="424" showTickCounter="true" patchSize="12.0" fontSize="10" wrappingAllowedY="true" width="424" tickCounterLabel="ticks" maxPycor="17" updateMode="1" maxPxcor="17" minPxcor="-17"></view>
<button x="40" y="13" height="51" disableUntilTicks="false" forever="false" kind="Observer" width="77" display="setup">setup</button>
<slider x="9" step="1" y="170" max="150" width="203" display="initial-number-snakes" height="50" min="1" direction="Horizontal" default="150.0" variable="initial-number-snakes"></slider>
<button x="70" y="70" height="40" disableUntilTicks="true" forever="false" kind="Observer" width="92" display="step once">go</button>
<slider x="9" step="1" y="225" max="50" width="203" display="initial-poison-mean" height="50" min="0" direction="Horizontal" default="25.0" variable="initial-poison-mean"></slider>
<slider x="9" step="1" y="280" max="50" width="203" display="initial-resistance-mean" height="50" min="0" direction="Horizontal" default="25.0" variable="initial-resistance-mean"></slider>
<slider x="9" step="1" y="335" max="500" width="203" display="max-population" height="50" min="0" direction="Horizontal" default="500.0" variable="max-population"></slider>
<slider x="9" step="1" y="115" max="150" width="204" display="initial-number-frogs" height="50" min="1" direction="Horizontal" default="150.0" variable="initial-number-frogs"></slider>
<monitor x="113" precision="3" y="455" height="60" fontSize="11" width="126" display="Average resistance">average-resistance
</monitor>
<plot x="2" autoPlotX="true" yMax="160.0" autoPlotY="true" y="627" xMin="0.0" height="175" legend="false" xMax="10.0" yMin="120.0" width="230" display="populations">
<monitor x="113" precision="3" y="390" height="60" fontSize="11" width="125" display="Average Poison">average-poison</monitor>
<monitor x="8" precision="3" y="390" height="60" fontSize="11" width="100" display="Frogs">count frogs</monitor>
<monitor x="8" precision="3" y="455" height="60" fontSize="11" width="100" display="Snakes">count snakes</monitor>
<button x="122" y="13" height="52" disableUntilTicks="true" forever="true" kind="Observer" width="74" display="Go">go</button>
<plot x="243" autoPlotX="true" yMax="160.0" autoPlotY="true" y="440" xMin="0.0" height="207" legend="true" xMax="10.0" yMin="120.0" width="230" display="populations">
<setup></setup>
<update></update>
<pen interval="1.0" mode="0" display="frogs" color="-2674135" legend="true">
Expand All @@ -138,10 +141,7 @@ end
<update>plot count snakes</update>
</pen>
</plot>
<slider x="4" step="1" y="332" max="50" width="203" display="initial-poison-mean" height="50" min="0" direction="Horizontal" default="25.0" variable="initial-poison-mean"></slider>
<slider x="4" step="1" y="387" max="50" width="203" display="initial-resistance-mean" height="50" min="0" direction="Horizontal" default="25.0" variable="initial-resistance-mean"></slider>
<slider x="4" step="1" y="442" max="500" width="203" display="max-population" height="50" min="0" direction="Horizontal" default="500.0" variable="max-population"></slider>
<plot x="237" autoPlotX="true" yMax="10.0" autoPlotY="true" y="627" xMin="0.0" height="175" legend="false" xMax="10.0" yMin="10.0" width="230" display="traits">
<plot x="478" autoPlotX="true" yMax="10.0" autoPlotY="true" y="440" xMin="0.0" height="207" legend="true" xMax="10.0" yMin="10.0" width="230" display="traits">
<setup></setup>
<update></update>
<pen interval="1.0" mode="0" display="poison" color="-2674135" legend="true">
Expand All @@ -153,8 +153,6 @@ end
<update>plot average-resistance</update>
</pen>
</plot>
<note x="482" y="640" backgroundDark="0" fontSize="11" width="150" markdown="false" height="33" textColorDark="-1" textColorLight="-16777216" backgroundLight="0">Red = Frogs
Blue = Snakes</note>
</widgets>
<info><![CDATA[## WHAT IS IT?

Expand Down
Loading