_DV.get_source_sink_rate

_DV.get_source_sink_rate(scale_by: float = 1)[source]

Return a source-sink-rate decomposition of this demand vector.

Parameters
scale_byfloat, default=1

The demand vector is scaled by this factor before determining the s-t-r-decompositions

Returns
decompositiontuple

A tuple (s, t, r) containing sources s sinks t and associated demand rates r that induce this demand vector