-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add counterfactual test for SetRandomSeed event
- Loading branch information
Showing
15 changed files
with
1,357 additions
and
0 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#for analyze mode, uncomment this line | ||
#RESOURCE resECHO:initial=10000000:inflow=40:outflow=0.10 | ||
RESOURCE resECHO:inflow=40:outflow=0.10 | ||
|
||
#REACTION ECHO echo process:resource=resECHO:value=0.0:type=pow:frac=0.5:min=1:max=1: requisite:noreaction=ECHO | ||
|
||
REACTION NOT | ||
REACTION NAND | ||
REACTION AND | ||
REACTION ORN | ||
REACTION OR | ||
REACTION ANDN | ||
REACTION NOR | ||
REACTION XOR | ||
REACTION EQU | ||
|
||
REACTION NOT not process:resource=resECHO:value=0.0:type=pow:frac=0.5:min=1:max=1: requisite:noreaction=EQU:noreaction=XOR:noreaction=NOR:noreaction=ANDN:noreaction=OR:noreaction=ORN:noreaction=AND:noreaction=NAND:noreaction=NOT | ||
REACTION NAND nand process:resource=resECHO:value=0.0:type=pow:frac=0.5:min=1:max=1: requisite:noreaction=EQU:noreaction=XOR:noreaction=NOR:noreaction=ANDN:noreaction=OR:noreaction=ORN:noreaction=AND:noreaction=NAND:noreaction=NOT | ||
REACTION AND and process:resource=resECHO:value=0.0:type=pow:frac=0.5:min=1:max=1: requisite:noreaction=EQU:noreaction=XOR:noreaction=NOR:noreaction=ANDN:noreaction=OR:noreaction=ORN:noreaction=AND:noreaction=NAND:noreaction=NOT | ||
REACTION ORN orn process:resource=resECHO:value=0.0:type=pow:frac=0.5:min=1:max=1: requisite:noreaction=EQU:noreaction=XOR:noreaction=NOR:noreaction=ANDN:noreaction=OR:noreaction=ORN:noreaction=AND:noreaction=NAND:noreaction=NOT | ||
REACTION OR or process:resource=resECHO:value=0.0:type=pow:frac=0.5:min=1:max=1: requisite:noreaction=EQU:noreaction=XOR:noreaction=NOR:noreaction=ANDN:noreaction=OR:noreaction=ORN:noreaction=AND:noreaction=NAND:noreaction=NOT | ||
REACTION ANDN andn process:resource=resECHO:value=0.0:type=pow:frac=0.5:min=1:max=1: requisite:noreaction=EQU:noreaction=XOR:noreaction=NOR:noreaction=ANDN:noreaction=OR:noreaction=ORN:noreaction=AND:noreaction=NAND:noreaction=NOT | ||
REACTION NOR nor process:resource=resECHO:value=0.0:type=pow:frac=0.5:min=1:max=1: requisite:noreaction=EQU:noreaction=XOR:noreaction=NOR:noreaction=ANDN:noreaction=OR:noreaction=ORN:noreaction=AND:noreaction=NAND:noreaction=NOT | ||
REACTION XOR xor process:resource=resECHO:value=0.0:type=pow:frac=0.5:min=1:max=1: requisite:noreaction=EQU:noreaction=XOR:noreaction=NOR:noreaction=ANDN:noreaction=OR:noreaction=ORN:noreaction=AND:noreaction=NAND:noreaction=NOT | ||
REACTION EQU equ process:resource=resECHO:value=0.0:type=pow:frac=0.5:min=1:max=1: requisite:noreaction=EQU:noreaction=XOR:noreaction=NOR:noreaction=ANDN:noreaction=OR:noreaction=ORN:noreaction=AND:noreaction=NAND:noreaction=NOT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
############################################################################## | ||
# | ||
# This is the setup file for the events system. From here, you can | ||
# configure any actions that you want to have happen during the course of | ||
# an experiment, including setting the times for data collection. | ||
# | ||
# basic syntax: [trigger] [start:interval:stop] [action/event] [arguments...] | ||
# | ||
# This file is currently setup to record key information every 100 updates. | ||
# | ||
# For information on how to use this file, see: doc/events.html | ||
# For other sample event configurations, see: support/config/ | ||
# | ||
############################################################################## | ||
|
||
# Seed the population with a single organism | ||
u begin SetRandomSeed 42 | ||
u begin Inject evolved-not.org | ||
|
||
u 800 PrintParasiteData parasites1a.dat | ||
u 800 InjectParasite parasite-smt.org ABB 0 400 | ||
|
||
u 1000 PrintParasiteData parasites1b.dat | ||
u 1000 DumpParasiteGenotypeGrid parasites1.grid | ||
|
||
u 1000 KillProb 1.0 | ||
|
||
u 1000 SetRandomSeed 43 # note!! not 42 like in first test | ||
u 1000 Inject evolved-not.org | ||
|
||
u 1800 PrintParasiteData parasites2a.dat | ||
u 1800 InjectParasite parasite-smt.org ABB 0 400 | ||
|
||
u 2000 PrintParasiteData parasites2b.dat | ||
u 2000 DumpParasiteGenotypeGrid parasites2.grid | ||
|
||
u 2000 SetRandomSeed 52 | ||
u 2001 PrintParasiteData parasites3.dat | ||
u 2002 Exit |
321 changes: 321 additions & 0 deletions
321
avida-core/tests/set_random_seed2/config/evolved-not.org
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,321 @@ | ||
Search | ||
Nop-C | ||
Nop-D | ||
Push-Prev | ||
SetMemory | ||
Nop-A | ||
Nop-D | ||
Nop-D | ||
Head-Move | ||
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 | ||
IO | ||
IO | ||
IO | ||
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 | ||
Val-Nand | ||
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 | ||
IO | ||
Nop-C | ||
Nop-C | ||
Nop-C | ||
Nop-C | ||
Val-Copy | ||
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-D | ||
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 | ||
Head-Move | ||
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 | ||
Push-Prev | ||
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 | ||
If-Greater | ||
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 | ||
Search | ||
Inst-Read | ||
Inst-Write | ||
Head-Push | ||
Nop-C | ||
If-Equal | ||
Divide-Erase | ||
Head-Move | ||
Nop-A | ||
Nop-B | ||
|
Oops, something went wrong.