_tacoma.edge_changes_with_histograms

class _tacoma.edge_changes_with_histograms

Similar to the _tacoma.edge_changes class but with additional analysis results.

__init__(self: _tacoma.edge_changes_with_histograms) → None

Methods

__init__(self)

Attributes

N The number of nodes.
contact_durations A list of int s, each entry is the duration of a single contact (in time steps).
edges_in A list containing the edges coming in to the network at the correspoding time in t.
edges_initial A list containing the edges of the network at time t0
edges_out A list containing the edges leaving the network at the correspoding time in t.
final_size_histogram A dict containing group sizes as keys and counts of groups of corresponding sizes as values.
group_changes A list dict , one dict for each time step, containing group sizes as keys and change of value to the previous time step as values.
initial_size_histogram A dict containing group sizes as keys and counts of groups of corresponding sizes as values.
inter_contact_durations A list of int s, each entry is the number of time steps it took a single node to reconnect.
t An ordered list containing the time points at which changes occur.
t0 The initial time.
tmax The final time.