cutcutcodec.core.analysis.graph.time_backprop
Backpropagation of the time interval in a node.
Functions
|
Graph version of |
Details
- cutcutcodec.core.analysis.graph.time_backprop.time_backprop(graph: MultiDiGraph, edge: tuple[str, str, str], t_min: Fraction, t_max: Fraction | float) tuple[tuple[str, str, str], tuple[Fraction, Fraction | float]][source]
Graph version of
cutcutcodec.core.analysis.stream.time_backprop.time_backprop.Parameters
- graphnetworkx.MultiDiGraph
The assembly graph. The graph is supposed to be updated. It means
cutcutcodec.core.compilation.graph_to_tree.update_treeswas called.- edgetuple[str, str, str]
The name of the edge corresponding to the outgoing stream. It can be a stream of any type.
- t_minFraction
The starting included time of decoding the data of the given stream.
- t_maxfrctions.Fraction or inf
The final excluded time of decoding the data of the given stream.
Yields
- in_edgetuple[str, str, str]
Turn by turn, the input edge of the main node given by the edge in argument. If the node is a generator, no edge are yields.
- new_t_minFraction
The start time of this slice matching with the given time slice.
- new_t_maxFraction or inf
The final time of this slice matching with the given time slice.