|
1 | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | | -<model version="NetLogo 7.0.0-beta0" snapToGrid="true"> |
| 2 | +<model version="NetLogo 7.0.0-beta2" snapToGrid="true"> |
3 | 3 | <code><![CDATA[globals [ |
4 | 4 | instructions ;; The messages that appear in the instructions monitor |
5 | 5 |
|
@@ -490,58 +490,58 @@ end |
490 | 490 | ; Copyright 2004 Uri Wilensky. |
491 | 491 | ; See Info tab for full copyright and license.]]></code> |
492 | 492 | <widgets> |
493 | | - <view x="493" maxPycor="2" updateMode="0" wrappingAllowedX="true" y="70" frameRate="30.0" minPycor="-2" height="254" showTickCounter="false" patchSize="50.0" fontSize="10" wrappingAllowedY="true" width="254" tickCounterLabel="ticks" maxPxcor="2" minPxcor="-2"></view> |
| 493 | + <view x="493" wrappingAllowedX="true" y="70" frameRate="30.0" minPycor="-2" height="254" showTickCounter="false" patchSize="50.0" fontSize="10" wrappingAllowedY="true" width="254" tickCounterLabel="ticks" maxPycor="2" updateMode="0" maxPxcor="2" minPxcor="-2"></view> |
494 | 494 | <button x="5" y="65" height="35" disableUntilTicks="false" forever="false" kind="Observer" width="136" display="Setup">setup</button> |
495 | 495 | <button x="5" y="105" height="35" disableUntilTicks="true" forever="true" kind="Observer" width="136" display="Create Combi">create-combi</button> |
496 | 496 | <button x="5" y="145" height="35" disableUntilTicks="true" forever="true" kind="Observer" width="136" display="Search Combi">search-combi</button> |
497 | | - <slider x="145" step="1" y="65" height="55" min="1" direction="Horizontal" max="5" default="3.0" variable="width" width="250" display="width"></slider> |
498 | | - <slider x="145" step="1" y="125" height="55" min="1" direction="Horizontal" max="2" default="1.0" variable="height" width="250" display="height"></slider> |
499 | | - <slider x="145" step="1" y="185" height="55" min="2" direction="Horizontal" max="6" default="2.0" variable="#choices" width="250" display="#choices"></slider> |
500 | | - <switch x="5" y="185" height="37" on="true" variable="dice?" width="135" display="dice?"></switch> |
501 | | - <switch x="5" y="225" height="37" on="false" variable="single-success?" width="135" display="single-success?"></switch> |
502 | | - <chooser x="145" y="245" height="55" variable="analysis-type" current="2" width="250" display="analysis-type"> |
| 497 | + <slider x="145" step="1" y="65" max="5" width="250" display="width" height="55" min="1" direction="Horizontal" default="3.0" variable="width"></slider> |
| 498 | + <slider x="145" step="1" y="125" max="2" width="250" display="height" height="55" min="1" direction="Horizontal" default="1.0" variable="height"></slider> |
| 499 | + <slider x="145" step="1" y="185" max="6" width="250" display="#choices" height="55" min="2" direction="Horizontal" default="2.0" variable="#choices"></slider> |
| 500 | + <switch x="5" y="185" height="40" on="true" variable="dice?" width="135" display="dice?"></switch> |
| 501 | + <switch x="5" y="225" height="40" on="false" variable="single-success?" width="135" display="single-success?"></switch> |
| 502 | + <chooser x="145" y="245" height="60" variable="analysis-type" current="2" width="250" display="analysis-type"> |
503 | 503 | <choice type="string" value="permutations"></choice> |
504 | 504 | <choice type="string" value="combination"></choice> |
505 | 505 | <choice type="string" value="both"></choice> |
506 | 506 | </chooser> |
507 | | - <monitor x="10" precision="3" y="330" height="55" fontSize="11" width="100" display="Combination">count-combi-successes</monitor> |
508 | | - <monitor x="115" precision="3" y="330" height="55" fontSize="11" width="102" display="Permutation">count-permis-successes</monitor> |
509 | | - <note x="220" y="310" height="18" textColorDark="-1" backgroundDark="0" textColorLight="-16777216" backgroundLight="0" fontSize="11" width="195">Ratio Between Outcome Means:</note> |
510 | | - <monitor x="280" precision="2" y="330" height="55" fontSize="11" width="115" display="Combi : Permis">ratio</monitor> |
511 | | - <note x="10" y="310" height="18" textColorDark="-1" backgroundDark="0" textColorLight="-16777216" backgroundLight="0" fontSize="11" width="185">Successes in This Sample:</note> |
512 | | - <switch x="10" y="590" height="37" on="true" variable="bars?" width="98" display="bars?"></switch> |
513 | | - <plot x="10" yMax="10.0" yAxis="count" y="390" xMin="0.0" height="195" legend="true" xMax="100.0" autoPlotX="true" autoPlotY="true" yMin="0.0" width="381" xAxis="successes per sample" display="Successes per Sample Distribution"> |
| 507 | + <monitor x="10" precision="3" y="330" height="60" fontSize="11" width="100" display="Combination">count-combi-successes</monitor> |
| 508 | + <monitor x="115" precision="3" y="330" height="60" fontSize="11" width="102" display="Permutation">count-permis-successes</monitor> |
| 509 | + <note x="220" y="310" backgroundDark="0" fontSize="11" width="195" markdown="false" height="18" textColorDark="-1" textColorLight="-16777216" backgroundLight="0">Ratio Between Outcome Means:</note> |
| 510 | + <monitor x="280" precision="2" y="330" height="60" fontSize="11" width="115" display="Combi : Permis">ratio</monitor> |
| 511 | + <note x="10" y="310" backgroundDark="0" fontSize="11" width="185" markdown="false" height="18" textColorDark="-1" textColorLight="-16777216" backgroundLight="0">Successes in This Sample:</note> |
| 512 | + <switch x="10" y="590" height="40" on="true" variable="bars?" width="98" display="bars?"></switch> |
| 513 | + <plot x="10" autoPlotX="true" yMax="10.0" autoPlotY="true" yAxis="count" y="390" xMin="0.0" height="195" legend="true" xMax="100.0" yMin="0.0" width="381" xAxis="successes per sample" display="Successes per Sample Distribution"> |
514 | 514 | <setup></setup> |
515 | 515 | <update></update> |
516 | | - <pen color="-16777216" legend="true" interval="1.0" mode="1" display="combination"> |
| 516 | + <pen interval="1.0" mode="1" display="combination" color="-16777216" legend="true"> |
517 | 517 | <setup></setup> |
518 | 518 | <update></update> |
519 | 519 | </pen> |
520 | | - <pen color="-2674135" legend="true" interval="1.0" mode="1" display="permutations"> |
| 520 | + <pen interval="1.0" mode="1" display="permutations" color="-2674135" legend="true"> |
521 | 521 | <setup></setup> |
522 | 522 | <update></update> |
523 | 523 | </pen> |
524 | 524 | </plot> |
525 | | - <note x="400" y="240" height="96" textColorDark="-1" backgroundDark="0" textColorLight="-16777216" backgroundLight="0" fontSize="11" width="85"><![CDATA[The model |
| 525 | + <note x="400" y="240" backgroundDark="0" fontSize="11" width="85" markdown="false" height="96" textColorDark="-1" textColorLight="-16777216" backgroundLight="0"><![CDATA[The model |
526 | 526 | guesses your |
527 | 527 | combination |
528 | 528 | here ----->]]></note> |
529 | 529 | <button x="400" y="185" height="35" disableUntilTicks="true" forever="false" kind="Observer" width="93" display="Hide/Reveal">hide/reveal</button> |
530 | | - <note x="400" y="135" height="48" textColorDark="-1" backgroundDark="0" textColorLight="-16777216" backgroundLight="0" fontSize="11" width="90"><![CDATA[Set your |
| 530 | + <note x="400" y="135" backgroundDark="0" fontSize="11" width="90" markdown="false" height="48" textColorDark="-1" textColorLight="-16777216" backgroundLight="0"><![CDATA[Set your |
531 | 531 | combination |
532 | 532 | here ----->]]></note> |
533 | | - <monitor x="5" precision="0" y="7" height="55" fontSize="11" width="740">instructions</monitor> |
534 | | - <note x="456" y="353" height="18" textColorDark="-1" backgroundDark="0" textColorLight="-16777216" backgroundLight="0" fontSize="11" width="295">Sample Space and Numbers of Choices by Type:</note> |
535 | | - <monitor x="545" precision="3" y="430" height="55" fontSize="11" width="100"># 5</monitor> |
536 | | - <monitor x="545" precision="3" y="375" height="55" fontSize="11" width="100"># 2</monitor> |
537 | | - <monitor x="455" precision="3" y="430" height="55" fontSize="11" width="100"># 4</monitor> |
538 | | - <monitor x="455" precision="3" y="375" height="55" fontSize="11" width="100"># 1</monitor> |
539 | | - <monitor x="645" precision="3" y="375" height="55" fontSize="11" width="100"># 3</monitor> |
540 | | - <monitor x="645" precision="3" y="430" height="55" fontSize="11" width="100"># 6</monitor> |
541 | | - <note x="455" y="495" height="18" textColorDark="-1" backgroundDark="0" textColorLight="-16777216" backgroundLight="0" fontSize="11" width="215">Samples and Steps This Run:</note> |
542 | | - <monitor x="455" precision="0" y="515" height="55" fontSize="11" width="100" display="#Samples">samples-counter</monitor> |
543 | | - <slider x="455" step="100" y="575" height="55" min="100" direction="Horizontal" max="100000" default="1000.0" variable="sample-size" width="250" display="sample-size"></slider> |
544 | | - <monitor x="560" precision="3" y="515" height="55" fontSize="11" width="147" display="#Steps in This Sample">count-steps</monitor> |
| 533 | + <monitor x="5" precision="0" y="7" height="60" fontSize="11" width="740">instructions</monitor> |
| 534 | + <note x="456" y="353" backgroundDark="0" fontSize="11" width="295" markdown="false" height="18" textColorDark="-1" textColorLight="-16777216" backgroundLight="0">Sample Space and Numbers of Choices by Type:</note> |
| 535 | + <monitor x="545" precision="3" y="430" height="60" fontSize="11" width="100"># 5</monitor> |
| 536 | + <monitor x="545" precision="3" y="375" height="60" fontSize="11" width="100"># 2</monitor> |
| 537 | + <monitor x="455" precision="3" y="430" height="60" fontSize="11" width="100"># 4</monitor> |
| 538 | + <monitor x="455" precision="3" y="375" height="60" fontSize="11" width="100"># 1</monitor> |
| 539 | + <monitor x="645" precision="3" y="375" height="60" fontSize="11" width="100"># 3</monitor> |
| 540 | + <monitor x="645" precision="3" y="430" height="60" fontSize="11" width="100"># 6</monitor> |
| 541 | + <note x="455" y="495" backgroundDark="0" fontSize="11" width="215" markdown="false" height="18" textColorDark="-1" textColorLight="-16777216" backgroundLight="0">Samples and Steps This Run:</note> |
| 542 | + <monitor x="455" precision="0" y="515" height="60" fontSize="11" width="100" display="#Samples">samples-counter</monitor> |
| 543 | + <slider x="455" step="100" y="575" max="100000" width="250" display="sample-size" height="55" min="100" direction="Horizontal" default="1000.0" variable="sample-size"></slider> |
| 544 | + <monitor x="560" precision="3" y="515" height="60" fontSize="11" width="147" display="#Steps in This Sample">count-steps</monitor> |
545 | 545 | </widgets> |
546 | 546 | <info><![CDATA[## WHAT IS IT? |
547 | 547 |
|
|
0 commit comments