egttools.numerical.structure.factories.network_coevo_factory

network_coevo_factory(game, topology, nb_strategies, beta, mu, rewiring_probability, rewiring_rule='random', cache_size=100000)[source]

Create a NetworkCoEvolutionary estimator for the requested rewiring rule.

Parameters:
  • game (AbstractSpatialGame)

  • topology (Dict[int, List[int]])

  • nb_strategies (int)

  • beta (float)

  • mu (float)

  • rewiring_probability (float) – Probability per time step that a rewiring event occurs.

  • rewiring_rule (str) – "random" (Santos 2006) or "homophilic" (Borges 2023).

  • cache_size (int)

Return type:

NetworkCoEvolutionaryPC | NetworkCoEvolutionaryPCHomophilic