grape.general_graph.GeneralGraph.efficiency

property GeneralGraph.efficiency

Efficiency of the graph. Returns the efficiency if already stored in the nodes. Otherwise, the attribute is computed.

Returns

efficiency attribute for every node. The keys correspond to source, while as value a dictionary keyed by target and valued by the source-target efficiency.

Return type

dict