-
Notifications
You must be signed in to change notification settings - Fork 39
Comparing changes
Open a pull request
base repository: statnet/ergm
base: master
head repository: statnet/ergm
compare: loops
- 8 commits
- 29 files changed
- 1 contributor
Commits on Dec 17, 2025
-
Implemented support for networks with self-loops:
* *Network structs now have an additional element, Rboolean loops_flag. * *NetworkInitialize() functions now takes an additional argument, Rboolean loops_flag. * Redgelist2*Network() functions now set this flag as well. * Macro-based backwards compatibility for calling without a loops_flag has been provided. * GetRandDyad() returns self-loop dyads if nwp->loops_flag is TRUE. * *EXEC_THROUGH_EDGES*() macros now skip the self-edge for the in-edge half of the iteration.
Configuration menu - View commit details
-
Copy full SHA for 7d19c1a - Browse repository at this point
Copy the full SHA 7d19c1aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 470278f - Browse repository at this point
Copy the full SHA 470278fView commit details -
Added an inline function *NetworkInitializeLike(nwp) to construct an …
…empty network with the same attributes as nwp.
Configuration menu - View commit details
-
Copy full SHA for 3e995d7 - Browse repository at this point
Copy the full SHA 3e995d7View commit details -
In *NetworkInitialize(), bipartite != 0 sets loops_flag to 0; *Networ…
…kCopy() now copies loops_flag; *Network2Redgelist() now also sets the "loops" attribute; and a TODO to fix *FindithNonedge() for self-loops has been added.
Configuration menu - View commit details
-
Copy full SHA for 4021cce - Browse repository at this point
Copy the full SHA 4021cceView commit details -
Terms and utilities that call *NetworkInitialize() now either also sp…
…ecify loops_flag or use NetworkInitializeLike().
Configuration menu - View commit details
-
Copy full SHA for 6c976a0 - Browse repository at this point
Copy the full SHA 6c976a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 56ce9d6 - Browse repository at this point
Copy the full SHA 56ce9d6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 82bbb5e - Browse repository at this point
Copy the full SHA 82bbb5eView commit details -
Implemented loop, loopcov(), and loopfactor() terms, both binary and …
…valued. references #618
Configuration menu - View commit details
-
Copy full SHA for 135146c - Browse repository at this point
Copy the full SHA 135146cView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff master...loops