From d2d71a6bc8e445ee60b7be2667676138e277d676 Mon Sep 17 00:00:00 2001 From: feiyu02 <risaku@163.com> Date: 星期五, 28 六月 2024 17:41:08 +0800 Subject: [PATCH] 1. 修改走航报告自动输出模块 --- src/main/kotlin/com/flightfeather/uav/biz/dataanalysis/exceptiontype/ExceptionValueMutation.kt | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/main/kotlin/com/flightfeather/uav/biz/dataanalysis/exceptiontype/ExceptionValueMutation.kt b/src/main/kotlin/com/flightfeather/uav/biz/dataanalysis/exceptiontype/ExceptionValueMutation.kt index 0a9e73c..fdaa83c 100644 --- a/src/main/kotlin/com/flightfeather/uav/biz/dataanalysis/exceptiontype/ExceptionValueMutation.kt +++ b/src/main/kotlin/com/flightfeather/uav/biz/dataanalysis/exceptiontype/ExceptionValueMutation.kt @@ -34,6 +34,7 @@ val b2 = r >= config.mutationRate if (b1) special = true res[f] = (b1 || b2) + if (res[f] == true) println("p: $pValue --- n: $nValue --- r: $r") } // repeat(config.factorCount) { i-> // if (p?.getByFactorIndex(i) == null || n.getByFactorIndex(i) == null) { @@ -56,6 +57,7 @@ val b1 = special && (eIndex - sIndex) >= (config.mutationNum / 2) val b2 = (eIndex - sIndex) >= config.mutationNum special = false + println("sIndex: $sIndex --- eIndex: $eIndex --- special: $special") return b1 || b2 } } \ No newline at end of file -- Gitblit v1.9.3