<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://robust.cs.unm.edu/lib/exe/css.php?s=feed" type="text/css"?>
<rss version="2.0">
    <channel xmlns:g="http://base.google.com/ns/1.0">
        <title>Robust-first Computing Wiki - ulam:demos</title>
        <description></description>
        <link>https://robust.cs.unm.edu/</link>
        <lastBuildDate>Mon, 13 Apr 2026 12:05:56 +0000</lastBuildDate>
        <generator>FeedCreator 1.8</generator>
        <image>
            <url>https://robust.cs.unm.edu/lib/exe/fetch.php?media=wiki:logo.png</url>
            <title>Robust-first Computing Wiki</title>
            <link>https://robust.cs.unm.edu/</link>
        </image>
        <item>
            <title>coevolution</title>
            <link>https://robust.cs.unm.edu/doku.php?id=ulam:demos:coevolution&amp;rev=1502769505</link>
            <description>&lt;pre&gt;
@@ -8,9 +8,9 @@
  
  ===== The Huegene model =====
  
  Suppose there are two species of creatures, the //Plants// and the //Herbivores//, existing in a two-dimensional grid of sites that each can hold one creature.  Plants are immobile, but they spontaneously grow over time and will split into empty adjacent sites if they are large enough.  The Herbivores move randomly and attempt to eat any Plants they stumble over.  Herbivores must eat enough Plants to avoid starving to death, and if they accumulate enough energy they can produce an offspring Herbivore in a neighboring empty site. 
- {{ youtube&amp;gt;jQaXtbrVNaU?500x300|Plant vs Herbivore}}
+ {{ youtube&amp;gt;jQaXtbrVNaU?500x280|Plant vs Herbivore}}
  
  The Plants have genetic information that allows them to appear as any (24 bit RGB) color.  Any given Plant has a fixed color for its whole lifetime, but if it manages to produce an offspring Plant, the child&amp;#039;s color will be slightly modified --- &amp;quot;mutated&amp;quot;, completely at random --- compared to the parent.  Regardless of their color, all //Plants// are equally efficient at growing and having offspring plants, and so on --- in a world consisting only of //Plants// their colors are completely irrelevant to their evolutionary success.
  
  For their part, the //Herbivores// also have a genetically-specified color, that determines what color Plants they are most likely to eat successfully.  So a &amp;quot;well-adapted&amp;quot; Herbivore will have a color closely matching that of the nearby Plants, while a &amp;quot;well-adapted&amp;quot; Plant will have a color that&amp;#039;s far (in terms of the sum of absolute differences in RGB) from the nearby Herbivores.
@@ -27,9 +27,8 @@
  /**
     \symmetries all
  */
  element Plant {
-   typedef Plant Self;
    typedef Unsigned(8) Channel;
    typedef Channel ARGB[4];
    typedef Channel RGB[3];
    typedef Unsigned(3) Energy;
@@ -81,9 +80,8 @@
  /**
     \symmetries all
  */
  element Herbivore {
-   typedef Herbivore Self;
    typedef Unsigned(8) Channel;
    typedef Channel ARGB[4];
    typedef Channel RGB[3];
    typedef Unsigned(7) Hunger;

&lt;/pre&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Tue, 15 Aug 2017 03:58:25 +0000</pubDate>
        </item>
    </channel>
</rss>
