benmaier / tacoma

Temporal networks in Python. Provides fast tools to analyze temporal contact networks and simulate dynamic processes on them using Gillespie's SSA.
http://tacoma.benmaier.org
Other
105 stars 7 forks source link

in the concatenation procedure, actively use the `int_to_node` map to create useful lists #9

Closed benmaier closed 6 years ago

benmaier commented 6 years ago

When concatenating, it might happen that each network has an own set of nodes but those sets might overlap and might have been remapped to different integers. When concatenating those networks, it's necessary to find a common node set and remap the integers in all single temporal networks accordingly.