grape.general_graph.GeneralGraph.compute_nodal_efficiency

GeneralGraph.compute_nodal_efficiency()[source]

Nodal efficiency calculation.

Note

The nodal efficiency of the node is equal to zero for a node without any outgoing path and equal to one if from it we can reach each node of the digraph.

Returns

nodal efficiency computed for every node.

Return type

dict