| | |
| | | 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(); |
| | |
| | | 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; |
| | | } |
| | | } |