We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2ded455 commit 181e840Copy full SHA for 181e840
terragraph_planner/optimization/topology_report.py
@@ -355,7 +355,9 @@ def get_topology_metrics(
355
number_of_demands_with_disjoint_path / dems_nonzero_hops_away
356
)
357
total_demand = sum(
358
- d.demand for d in topology.demand_sites.values() if d.demand is not None
+ d.demand * d.num_sites
359
+ for d in topology.demand_sites.values()
360
+ if d.demand is not None
361
362
demand_metrics = DemandMetrics(
363
number_of_demands=number_of_demands,
0 commit comments