base: set mutation chance to simulation size
This results in the expected value of the number of mutations at any one iteration to be 1, which is good.
This commit is contained in:
@@ -47,8 +47,7 @@ typedef double f64;
|
||||
#define CELL_WIDTH (WIDTH / (f64)CELL_ROW_SIZE)
|
||||
#define CELL_HEIGHT (HEIGHT / (f64)CELL_ROW_SIZE)
|
||||
|
||||
#define MUTATION_CHANCE 5000
|
||||
#define MUTATION_OFFSET 1
|
||||
#define MUTATION_CHANCE (SIMULATION_SIZE)
|
||||
|
||||
#define DRAW_PROGRAM_OUTLINE 1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user