优化loadDepotInOutRoutePath

This commit is contained in:
xiazengbin 2021-12-07 09:43:15 +08:00
parent 578d1fd44a
commit 09b0f92614

View File

@ -90,8 +90,7 @@ public class SimulationBuilder {
if (CollectionUtils.isEmpty(parkingTracksMap)) {
return;
}
final Map<String, List<RoutePath>> srps = simulation.getRepository().getRoutePathMap();
log.info("==>>!!!车辆段RoutePathMap 初始 size = {}",srps.size());
final Map<String, List<RoutePath>> srps = simulation.getRepository().getRoutePathMap();
parkingTracksMap.forEach((station, secs) -> {
if (station.isDepot()) {// 车站为车辆段
List<Section> transferList = station.getTransferList();// 转换轨列表