def _initRouteMap(self, gatewayIDs: List[ModuleID]) -> DefaultDict[ModuleID, ModuleID]:
"""
Initial filling the route map with gateways
"""
routeMap = {}
for gatewayID in gatewayIDs:
routeMap[gatewayID] = gatewayID
return routeMap
评论列表
文章目录