Strategy connecting multiple graphs
LinkGraphs
Builder class for linking multiple graphs, through which we can access linking strategies.
Attributes:
graph
: networkx.Graph objectgraphs
: dictionary of networkx.Graph objectscommand_array
: an array that stores linking strategies
sliding_window()
Notes that we want to connect graphs in a multivariate graph to create sliding window graph.
time_cooccurrence()
Notes that we want to connect graphs in a multivariate graph based on time co-ocurrance.
StrategyLinkingMultipleGraphs
Links multiple graphs together.
Attributes:
graph
: networkx.Graph objectgraphs
: dictionary of networkx.Graph objectsstrategy_precedence
: tells in which order should the strategies be excetuted
StrategyLinkingMultipleGraphsByTimeCooccurrence
Bases: StrategyLinkingMultipleGraphs
Links nodes from multiple graphs based on their sequential order.