critical_ratio_defrag#

module wntr.metrics.topographic

critical_ratio_defrag(G)[source]#

Critical ratio of defragmentation

Parameters:

G (networkx MultiDiGraph) – Graph

Return type:

Critical ratio of defragmentation (float)