Collection of utility functions for network analysis, performance calculations, and general ANNEM operations. Evolve Network Connections
Update network topology based on agent decision similarity and performance.
evolve_network(
network,
agent_decisions,
similarity_threshold = 0.8,
evolution_rate = 0.01
)
Updated igraph network object
if (FALSE) { # \dontrun{
library(igraph)
net <- sample_smallworld(1, 100, 4, 0.1)
decisions <- rnorm(100)
new_net <- evolve_network(net, decisions)
} # }