philliplab / yasss

Yet Another Short Sequence Simulator
0 stars 0 forks source link

What do I call the function that computes a dmat on a generation and summarizes the dmat and add in the identifiers? #123

Closed philliplab closed 6 years ago

philliplab commented 6 years ago

Only two things in computer science is hard. cache invalidation and naming things.

dmat_dsum_gen process_gen dproc_gen (distance process generation)


summarize_gen? this will go with summarize_dmat? And it leaves room for adding in other non-distance metrics?


this function is a little sucky since many arguments just gets passed through it for the sole intent of squishing ithem into the result list.

philliplab commented 6 years ago

What is the purpose of this function?

You feed it a generation and then it computes all the metrics on it and produces all the summaries.

Now here is a small issue in that this adds another dimension into the return value of sim_proc_many_pops that I have not planned for. Can I add in this concept but then restrict the output to just a dsum. Deadlines will really punuish me if I try to build in all this functionality now.

I think the next step is to update the design vignette to reflect this new complication