You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the size is always doubled, but for exponential or factorial algorithms it would be better to increment size by 1. For most flexibility, the functions would allow to increment by a fixed amount and/or by a factor. Arguments could be:
start value/size
steps number of doublings or additions, must be ≥ 0
factor: a float ≥ 1, default 2
increment: an int ≥ 0, default 0
The function then measures run-times for start, start*factor+increment, etc. for as many steps as given. (steps = 0 means it does only for start)
update library (should check that factor > 1 or increment > 0, as otherwise size doesn't grow)
update code guide
update/add an example in an essay (maybe a student essay)
update template
The text was updated successfully, but these errors were encountered:
Currently the size is always doubled, but for exponential or factorial algorithms it would be better to increment size by 1. For most flexibility, the functions would allow to increment by a fixed amount and/or by a factor. Arguments could be:
start
value/sizesteps
number of doublings or additions, must be ≥ 0factor
: a float ≥ 1, default 2increment
: an int ≥ 0, default 0The function then measures run-times for start, start*factor+increment, etc. for as many steps as given. (steps = 0 means it does only for start)
The text was updated successfully, but these errors were encountered: