Genetic distance between long migration / no cross-cell mating
clarencecastillo opened this issue · 1 comments
clarencecastillo commented
- Within a 5x5x1 cell eco-system (flatland), 1250 genetically identical (chromosome length = 50) individuals are evenly distributed. 50 individuals per cell.
- Mating can only occur within cell (use dose.filter_location function).
- 10% of the population inside each eco_cell would be migrating individually to random eco_cells across the entire world (implement in organism_location function with the use of dose.filter_location function).
- eco_cell_capacity shall be ignored to enable random movement to other cells.
- Monitor the 25 cells for 1000 generations.
- Report genetic status every 10 generations. Location reporting is required.
clarencecastillo commented
Created 05_long_migration_isolated_mating.py to cover this issue. (See commit: b9bd3ed)
- All parameters and custom overwrite functions are exactly the same with 04_no_migration_isolated_mating.py with the exception that this new simulation implements long range movement among its population.
- All eco_cells would be iterated over and for each iteration, 10% of the population inside the eco_cell migrates randomly across the entire world. The selection of the said portion would be done randomly.
- As the organism changes it status location, it's World organism count (World[x][y][z]['organisms']) counterpart would also be updated accordingly.
- Because all eco_cells are to be iterated over, it is possible for an organism to traverse multiple times in just one generation. This, of course, would make not much difference as it only imitates extended random selection of its new location.