tnetwork.DynCommunitiesSN.set_communities¶
-
DynCommunitiesSN.
set_communities
(t, communities=None)[source]¶ Affiliate nodes given a dictionary representation
Given a clustering provided as a dict id:{set of nodes} , set this clustering at the provided time (replace any existing clustering at that time)
Parameters: - t – a time instant
- communities – communitie as dict id:{set of nodes}