pywhy_graphs.classes.timeseries.StationaryTimeSeriesGraph#

class pywhy_graphs.classes.timeseries.StationaryTimeSeriesGraph(incoming_graph_data=None, max_lag: int = 1, stationary: bool = True, **attr)[source]#

Stationary time-series graph without directionality on edges.

This class should not be used directly.

Included for completeness to enable modeling and working with nx.Graph like objects with time-series structure. By the time-ordering assumption, all lagged edges must point forward in time. This serves as an API layer to allow for non-directed edges in time (i.e. circular edges among nodes in a ts-PAG).

Parameters:
incoming_graph_dataiterable, optional

The graph data to set, by default None.

max_lagint, optional

Maximum lag, by default 1.