Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
integrated-scheduling-v3
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张晓彤
integrated-scheduling-v3
Commits
20500a86
Commit
20500a86
authored
Jun 06, 2023
by
张晓彤
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
交叉口判定优化
parent
f55a7eb9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
topo_graph.py
graph/topo_graph.py
+1
-1
No files found.
graph/topo_graph.py
View file @
20500a86
...
@@ -508,7 +508,7 @@ class Topo():
...
@@ -508,7 +508,7 @@ class Topo():
"""
"""
self
.
cross_bf_lanes
=
[]
self
.
cross_bf_lanes
=
[]
for
node_id
,
Type
in
self
.
load_G
.
nodes
.
data
(
'name'
):
for
node_id
,
Type
in
self
.
load_G
.
nodes
.
data
(
'name'
):
if
Type
==
'None'
:
if
Type
is
None
or
Type
==
'None'
:
lanes
=
session_postgre
.
query
(
Lane
)
.
filter_by
(
EndNodeId
=
node_id
)
.
first
()
lanes
=
session_postgre
.
query
(
Lane
)
.
filter_by
(
EndNodeId
=
node_id
)
.
first
()
if
lanes
is
not
None
:
if
lanes
is
not
None
:
self
.
cross_bf_lanes
.
append
(
str
(
lanes
.
Id
))
self
.
cross_bf_lanes
.
append
(
str
(
lanes
.
Id
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment