wutron / dlcpar

Modeling gene duplication, loss, and coalescence (through parsimony)
GNU General Public License v3.0
7 stars 5 forks source link

Add convergence-based stopping rule #3

Closed davidemms closed 7 years ago

davidemms commented 7 years ago

Hi, here are a few small changes that allow the user the option of requesting that if the best scoring solution hasn't changed in a specified number of iterations then the search should stop.This allows the total number of iterations performed to depend on the convergence behavior of the particular case.

All the best David

wutron commented 7 years ago

Hi David,

Thanks for the PR. I had made some changes locally to do the same but did not commit until today (until I had time to test my code). It looks like my code is similar except I call the new option --nconverge.

Thanks,