Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dgl
Commits
f7b4b69a
Commit
f7b4b69a
authored
Apr 20, 2018
by
zzhang-cn
Browse files
skeleton tree
parent
62a39e5b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
mx_tree.py
mx_tree.py
+10
-0
No files found.
mx_tree.py
0 → 100644
View file @
f7b4b69a
import
networkx
as
nx
import
mx
tr
=
nx
.
balanced_tree
(
3
,
4
)
tr
=
mx
.
mx_Graph
(
tr
)
# now we have made a skeleton tree, we can register
# representations to a subset of the nodes, and then
# update them
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