Return a right-stochastic representation of G.
A right-stochastic graph is a weighted digraph in which all of the node (out) neighbors edge weights sum to 1.
Parameters : | G : graph
copy : boolean, optional
weight : edge attribute key (optional, default=’weight’)
|
---|