egttools.numerical.structure.factories.network_sync_factory¶
- network_sync_factory(nb_strategies, beta, mu, game, cache_size, node_list)[source]¶
Generates a list of Network objects from the list of node, neighbours dictionaries.
- Parameters:
nb_strategies (int) – Number of strategies in the population
beta (float) – Intensity of selection
mu (float) – Mutation rate
game (egttools.games.AbstractSpatialGame) – A game to associate with each network
cache_size (int) – The size of the cache memory to use
node_list (List[Dict[int, List[int]]) – A list of dictionaries containing the nodes and their neighbours
- Returns:
A list of Network objects
- Return type:
List[Network]