[Avida-cvs] [avida-svn] r924 - development/support/config/misc

ofria at myxo.css.msu.edu ofria at myxo.css.msu.edu
Sat Sep 2 08:01:28 PDT 2006


Author: ofria
Date: 2006-09-02 11:01:28 -0400 (Sat, 02 Sep 2006)
New Revision: 924

Added:
   development/support/config/misc/organism.multi-birth
Log:
Added an optional organism that can survive when DIVIDE_METHOD is set to 0 in
avida.cfg.  This means that the organism does not get reset after divide, so
it needs to reset itself to prepare for the next offspring.


Added: development/support/config/misc/organism.multi-birth
===================================================================
--- development/support/config/misc/organism.multi-birth	2006-09-02 14:51:16 UTC (rev 923)
+++ development/support/config/misc/organism.multi-birth	2006-09-02 15:01:28 UTC (rev 924)
@@ -0,0 +1,103 @@
+# This organism will function under a DIVIDE_METHOD of 0 where it does not
+# get reset to initial conditions on divide.
+
+h-alloc    # Allocate space for child
+h-search   # Locate the end of the organism
+nop-C      #
+nop-A      #
+mov-head   # Place write-head at beginning of offspring.
+nop-C      #
+nop-C      #
+nop-C      #
+nop-C      #
+nop-C      #
+nop-C      #
+nop-C      #
+nop-C      #
+nop-C      #
+nop-C      #
+nop-C      #
+nop-C      #
+nop-C      #
+nop-C      #
+nop-C      #
+nop-C      #
+nop-C      #
+nop-C      #
+nop-C      #
+nop-C      #
+nop-C      #
+nop-C      #
+nop-C      #
+nop-C      #
+nop-C      #
+nop-C      #
+nop-C      #
+nop-C      #
+nop-C      #
+nop-C      #
+nop-C      #
+nop-C      #
+nop-C      #
+nop-C      #
+nop-C      #
+nop-C      #
+nop-C      #
+nop-C      #
+nop-C      #
+nop-C      #
+nop-C      #
+nop-C      #
+nop-C      #
+nop-C      #
+nop-C      #
+nop-C      #
+nop-C      #
+nop-C      #
+nop-C      #
+nop-C      #
+nop-C      #
+nop-C      #
+nop-C      #
+nop-C      #
+nop-C      #
+nop-C      #
+nop-C      #
+nop-C      #
+nop-C      #
+nop-C      #
+nop-C      #
+nop-C      #
+nop-C      #
+nop-C      #
+nop-C      #
+nop-C      #
+nop-C      #
+nop-C      #
+nop-C      #
+nop-C      #
+nop-C      #
+nop-C      #
+nop-C      #
+nop-C      #
+nop-C      #
+nop-C      #
+nop-C      #
+nop-C      #
+nop-C      #
+nop-C      #
+nop-C      #
+h-search   # Mark the beginning of the copy loop
+h-copy     # Do the copy
+if-label   # If we're done copying....
+nop-C      #
+nop-A      #
+h-search   # Move flow head to divide routine...
+nop-A      # Divide represented by single nop-B
+mov-head   # Otherwise, loop back to the beginning of the copy loop.
+nop-A      #
+nop-C      #
+nop-B      # Start of divide routine   
+h-divide   #    ...divide!
+nop-A      # End label.
+nop-B      #




More information about the Avida-cvs mailing list