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
This is just a small suggestion to separate play_erdos_renyi into gnm and gnp versions. This is what the modern interface does as well in igraph, see sample_gnm and sample_gnp (erdos.renyi.game is deprecated). Mixing up the two in a single function is not particularly productive. Also, while today both the G(n,p) and G(n,m) are sometimes referred to as the Erdős-Rényi model, the original paper of Erdős and Rényi actually considered G(n,m), not G(n,p).
The text was updated successfully, but these errors were encountered:
Thanks! It's good that this was done, as in a future version of igraph, the parameters of sample_gnm() and sample_gnp() will diverge (the former will get an extra parameter, but not the latter).
Also, just in case you are preparing a new release, be aware that a new version of igraph is coming very soon, with some deprecations and small breaking changes (no breakage revealed in tidygraph yet due to this but you never know...) You might want to wait for that release.
This is just a small suggestion to separate
play_erdos_renyi
intognm
andgnp
versions. This is what the modern interface does as well in igraph, seesample_gnm
andsample_gnp
(erdos.renyi.game
is deprecated). Mixing up the two in a single function is not particularly productive. Also, while today both the G(n,p) and G(n,m) are sometimes referred to as the Erdős-Rényi model, the original paper of Erdős and Rényi actually considered G(n,m), not G(n,p).The text was updated successfully, but these errors were encountered: