From eb7936b4b850ce1093b3d4ebac797230a59ca373 Mon Sep 17 00:00:00 2001
From: Junjie <fallin.jie@qq.com>
Date: 星期五, 20 三月 2026 17:25:24 +0800
Subject: [PATCH] #
---
src/main/java/com/zy/asrs/domain/path/StationPathProfileConfig.java | 15 +++++++++++++++
1 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/src/main/java/com/zy/asrs/domain/path/StationPathProfileConfig.java b/src/main/java/com/zy/asrs/domain/path/StationPathProfileConfig.java
index bfc066c..48265c7 100644
--- a/src/main/java/com/zy/asrs/domain/path/StationPathProfileConfig.java
+++ b/src/main/java/com/zy/asrs/domain/path/StationPathProfileConfig.java
@@ -21,8 +21,16 @@
private Integer s1MaxTurnDiff = 1;
private Double s2BusyWeight = 2.0d;
+ private Double s2QueueWeight = 2.5d;
+ private Double s2WaitWeight = 1.5d;
+ private Double s2DeadlockWeight = 8.0d;
private Double s2RunBlockWeight = 10.0d;
private Double s2LoopLoadWeight = 12.0d;
+
+ private Double stationPathLenWeightPercent = 50.0d;
+ private Double stationPathCongWeightPercent = 50.0d;
+ private Double stationPathPassOtherOutStationWeightPercent = 100.0d;
+ private Boolean stationPathPassOtherOutStationForceSkip = false;
public static StationPathProfileConfig defaultConfig() {
return new StationPathProfileConfig();
@@ -43,7 +51,14 @@
if (source.s1MaxLenRatio != null) this.s1MaxLenRatio = source.s1MaxLenRatio;
if (source.s1MaxTurnDiff != null) this.s1MaxTurnDiff = source.s1MaxTurnDiff;
if (source.s2BusyWeight != null) this.s2BusyWeight = source.s2BusyWeight;
+ if (source.s2QueueWeight != null) this.s2QueueWeight = source.s2QueueWeight;
+ if (source.s2WaitWeight != null) this.s2WaitWeight = source.s2WaitWeight;
+ if (source.s2DeadlockWeight != null) this.s2DeadlockWeight = source.s2DeadlockWeight;
if (source.s2RunBlockWeight != null) this.s2RunBlockWeight = source.s2RunBlockWeight;
if (source.s2LoopLoadWeight != null) this.s2LoopLoadWeight = source.s2LoopLoadWeight;
+ if (source.stationPathLenWeightPercent != null) this.stationPathLenWeightPercent = source.stationPathLenWeightPercent;
+ if (source.stationPathCongWeightPercent != null) this.stationPathCongWeightPercent = source.stationPathCongWeightPercent;
+ if (source.stationPathPassOtherOutStationWeightPercent != null) this.stationPathPassOtherOutStationWeightPercent = source.stationPathPassOtherOutStationWeightPercent;
+ if (source.stationPathPassOtherOutStationForceSkip != null) this.stationPathPassOtherOutStationForceSkip = source.stationPathPassOtherOutStationForceSkip;
}
}
--
Gitblit v1.9.1