Commit 7d1ffff6 authored by hanbing's avatar hanbing

[update] 信号优化,运行评价-失衡指标改为失衡指数

parent 592b33ff
...@@ -753,7 +753,7 @@ public class RunningEvaluateServiceImpl implements RunningEvaluateService { ...@@ -753,7 +753,7 @@ public class RunningEvaluateServiceImpl implements RunningEvaluateService {
.orElse(0.0); .orElse(0.0);
} else if (status == CrossStatusEnum.UNBALANCE.getCode()) { } else if (status == CrossStatusEnum.UNBALANCE.getCode()) {
average = subList.stream() average = subList.stream()
.mapToDouble(CrossDataHistPO::getLoadBalance) .mapToDouble(CrossDataHistPO::getUnbalanceIndex)
.average() .average()
.orElse(0.0); .orElse(0.0);
} else if (status == CrossStatusEnum.SPILLOVER.getCode()) { } else if (status == CrossStatusEnum.SPILLOVER.getCode()) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment