Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add config file parameters for tribe fission #3

Open
3 tasks
bmpotter opened this issue Nov 10, 2019 · 0 comments
Open
3 tasks

Add config file parameters for tribe fission #3

bmpotter opened this issue Nov 10, 2019 · 0 comments

Comments

@bmpotter
Copy link
Member

This is just the 1st step in supporting splitting of tribes: add the config file parameters that control its behavior and the model structure for supporting more than 1 model of when/how to split.

  • Add new parameters to config/Config struct and to mendel-defaults.ini:
    • popSizeToSplit
    • minGenToSplit
    • maxGenToSplit
    • SplitToNumPops
    • popSplitModel
  • Add skeleton code for split model implementation in pop/models.go and pop/population.go
  • Implement Population.ReadyToSplit():
    • returns total number of populations to split into (including itself), if:
    • current pop size >= popSizeToSplit and current gen >= minGenToSplit
    • or current gen >= maxGenToSplit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant