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
4de7cc31
Commit
4de7cc31
authored
Jul 27, 2022
by
张晓彤
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
二次调度测试demo
parent
bbbfd63c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
test4.py
test4.py
+11
-0
No files found.
test4.py
0 → 100644
View file @
4de7cc31
from
path_plan.topo_graph
import
*
import
networkx
as
nx
import
matplotlib.pyplot
as
plt
topo
=
Topo
()
topo
.
generate_topo_graph
()
load_G
=
topo
.
get_load_G
()
pos
=
nx
.
shell_layout
(
load_G
)
nx
.
draw
(
load_G
,
pos
,
with_labels
=
True
,
node_color
=
'red'
,
edge_color
=
'blue'
,
font_size
=
18
,
width
=
5
,
node_size
=
600
,
alpha
=
0.5
)
plt
.
show
()
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