tnetwork
Installation
Quick Start
Tutorials
Documentation
Dynamic Network Classes
Introduction
Shared methods
Sequences of snapshots
Interval graphs
Adding and removing nodes and edges
Accessing the graph
Conversion to different formats
Aggregation
Link Streams
Read/Write/Load
Visualization
Dynamic Communities Classes
Dynamic Community Detection
Benchmark Generator
Evaluation of Dynamic Communities
Intervals Class
tnetwork
Docs
»
Documentation
»
Dynamic Network Classes
»
tnetwork.DynGraphIG.add_nodes_presence_from
Edit on GitHub
tnetwork.DynGraphIG.add_nodes_presence_from
¶
DynGraphIG.
add_nodes_presence_from
(
nodes
,
times
)
[source]
¶
Add interactions between provided pairs for the provided periods
Parameters:
nodes
– list of nodes, or a single node
times
– list of times defined as couple (start, stop) , of same length as node, or a single time