(self,
dataBase: str,
networkFile: str,
obsFile: str = None
)
| 33 | |
| 34 | class NetworkBuild: |
| 35 | def __init__(self, |
| 36 | dataBase: str, |
| 37 | networkFile: str, |
| 38 | obsFile: str = None |
| 39 | ) -> None: |
| 40 | self.dataBase = dataBase |
| 41 | self.networkFile = networkFile |
| 42 | self.obsFile = obsFile |
| 43 | self.edges: dict[str, Edge] = {} |
| 44 | self.lanes: dict[str, NormalLane] = {} |
| 45 | self.junctions: dict[str, Junction] = {} |
| 46 | self.junctionLanes: dict[str, JunctionLane] = {} |
| 47 | self.tlLogics: dict[str, TlLogic] = {} |
| 48 | # self.obstacles: dict[str, circleObs | rectangleObs] = {} |
| 49 | self.dataQue = Queue() |
| 50 | self.geoHashes: dict[tuple[int], geoHash] = {} |
| 51 | |
| 52 | def getEdge(self, eid: str) -> Edge: |
| 53 | try: |
nothing calls this directly
no outgoing calls
no test coverage detected