tnetwork.DynGraphLS.node_presence¶
-
DynGraphLS.
node_presence
(nodes=None)[source]¶ Presence period of nodes
Several usages:
- If nodes==None (default), return a dict for each node, its existing times
- If nodes is a single node, return the interval of presence of this node
- If nodes is a set of nodes, return interval of presence of those nodes as a dictionary
Parameters: nodes – Returns: dictionary, for each node, its presence Intervals, or single Interval for single node