From 00ec64bdf38a52b979f709de2e82e9994ed17749 Mon Sep 17 00:00:00 2001
From: Riku <risaku@163.com>
Date: 星期日, 07 七月 2024 21:40:17 +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