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

Forward time size history #231

Open
molpopgen opened this issue Feb 25, 2023 · 3 comments
Open

Forward time size history #231

molpopgen opened this issue Feb 25, 2023 · 3 comments

Comments

@molpopgen
Copy link
Owner

It would be very useful for a forward graph to be able to
output the complete size history for any deme/set of demes.

The implementation is trivial -- we just need to iterate
the entire graph and record what we get into Vec<f64>.

We could also provide API sugar for giving the output
as vectors of integer types, but this would add an extra
set of error paths to consider.

@molpopgen molpopgen added the good first issue Good for newcomers label Mar 15, 2023
@molpopgen
Copy link
Owner Author

Related: ask about the size of deme i at time t and return an Option that is None if the deme is not extant then.

@molpopgen molpopgen removed the good first issue Good for newcomers label Apr 4, 2023
@molpopgen
Copy link
Owner Author

molpopgen commented May 6, 2023

#270 is related.

@molpopgen molpopgen reopened this May 6, 2023
@molpopgen
Copy link
Owner Author

Gonna delay this one for a while. I think a refactor of the back end could be coming up soon. If so, #270 is moot in its current form.

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