pywhy_graphs.classes.timeseries.get_summary_graph#

pywhy_graphs.classes.timeseries.get_summary_graph(G, include_self_loops: bool = False) DiGraph[source]#

Compute the summary graph from a time-series graph.

Parameters:
GTimeSeriesDiGraph

The time-series directed graph. Undirected are not supported.

Returns:
summary_Gnx.DiGraph

A possibly cyclic graph.