Marco Smolla
msmolla.bsky.social
Marco Smolla
@msmolla.bsky.social
Developing software at DB Systel for tomorrow‘s rail traffic management.
Congrats!
November 27, 2024 at 3:06 PM
Reposted by Marco Smolla
Also check out a tutorial I made for simulation models of cultural evolution in R, all free on github:
github.com/amesoudi/cul...

and as a bookdown version with outputs:
bookdown.org/amesoudi/ABM...
October 16, 2023 at 11:20 AM
Just to be clear, I’m not saying igraph’s implementation is wrong. Just be aware that there is a difference between rewiring one endpoint of an edge and rewiring an entire edge.
October 13, 2023 at 8:39 AM
I created the function based on the implementation in Graph.jl for Julia (see juliagraphs.org/Graphs.jl/de...)
Generators for common graphs · Graphs.jl
https://juliagraphs.org/Graphs.jl/dev/core_functions/simplegraphs_generators/#Graphs.SimpleGraphs.watts_strogatz-Tuple{Integer,%20Integer,%20Real}
October 13, 2023 at 8:26 AM
It seems that igraph is considering each edge for rewiring twice (causing the shorter average path length). See this discussion github.com/igraph/igrap.... I have implemented an alternative version, which you can find here: gist.github.com/marcosmolla/...
Returns a Small-World network based on Watts and Strogatz algorithm (which considers each edge only ...
Returns a Small-World network based on Watts and Strogatz algorithm (which considers each edge only once for rewiring). - wattsStrogatzGame.r
gist.github.com
October 13, 2023 at 8:25 AM
that's a good first post ;)
October 4, 2023 at 9:43 AM
I agree. I’m pleasantly surprised how many familiar faces I found here.
October 3, 2023 at 3:43 PM
Let me know what you think. I should probably publish some more of these that I have slumbering on my computer.
October 2, 2023 at 12:30 PM