Skip to content

Commit 0e65b18

Browse files
committed
Merge branch 'main' into Point_Sub_not_Set_0
2 parents b83402d + d6397cc commit 0e65b18

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

source/sgp_mode/SGPConfigSetup.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ EMP_EXTEND_CONFIG(SymConfigSGP, SymConfigBase,
1616
GROUP(SGP, "Complex Genomes Settings"),
1717
VALUE(CYCLES_PER_UPDATE, size_t, 4, "Number of CPU cycles that organisms run every update"),
1818
VALUE(FIND_NEIGHBOR_HOST_ATTEMPTS, size_t, 4, "How many times to attempt finding a neighboring host for symbiont to horizontally transmit into"),
19-
VALUE(DONATION_STEAL_INST, bool, true, "1 if you want donate and steal instructions in the instruction set, 0 if not"),
20-
VALUE(SYM_DONATE_PROP, double, 0.2, "Proportion of points for sym to donate to host on donate"),
21-
VALUE(SYM_STEAL_PROP, double, 0.2, "Proportion of points for sym to steal from host on steal"),
19+
VALUE(DONATION_STEAL_INST, bool, false, "1 if you want donate and steal instructions in the instruction set, 0 if not"),
20+
VALUE(SYM_DONATE_PROP, double, 0.0, "Proportion of points for sym to donate to host on donate"),
21+
VALUE(SYM_STEAL_PROP, double, 0.0, "Proportion of points for sym to steal from host on steal"),
2222
VALUE(HOST_MIN_CYCLES_BEFORE_REPRO, size_t, 0, "Number of CPU cycles organisms must wait between reproductions"),
2323
VALUE(SYM_MIN_CYCLES_BEFORE_REPRO, size_t, 0, "Number of CPU cycles organisms must wait between reproductions"),
2424

source/test/sgp_mode_test/unit_tests/Instructions.test.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -489,6 +489,7 @@ TEST_CASE("Test host-symbiont interactive instructions", "[sgp]") {
489489
sgpmode::SymConfigSGP config;
490490
config.CYCLES_PER_UPDATE(0);
491491
config.HOST_REPRO_RES(1);
492+
config.DONATION_STEAL_INST(true);
492493
config.SEED(61);
493494
config.TASK_ENV_CFG_PATH("source/test/sgp_mode_test/hardware-test-env.json");
494495
config.FILE_PATH("Instructions_test_output");

0 commit comments

Comments
 (0)