phasik.classes.TemporalNetwork.TemporalNetwork.neighbors

TemporalNetwork.neighbors()[source]

Returns a dictionary of neighboring nodes in the aggregate network.

Returns

A dictionary where keys represent the nodes in the aggregate network, and values are lists of neighboring nodes.

Return type

dict

Notes

This function relies on the aggregated_network method to obtain the aggregate network graph.