-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
try add astar in classic_solvers.py; add some functions in utils.py to support NetworkX and GraphML formats #63
Conversation
Codecov Report
@@ Coverage Diff @@
## main #63 +/- ##
==========================================
- Coverage 93.67% 93.04% -0.64%
==========================================
Files 19 20 +1
Lines 6993 7578 +585
==========================================
+ Hits 6551 7051 +500
- Misses 442 527 +85
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
docs/auto_examples/index.rst
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Plz revert commits on this file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Plz revert commits on this file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Plz revert commits on this file.
pygmtools/classic_solvers.py
Outdated
return_network=False, pretrain='AIDS700nef',backend=None,**kwargs): | ||
|
||
r""" | ||
GENN-A* solver for graph matching based on Graph Neural Network. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add more descriptions for GENN, A-star algorithm, graph edit distance problem, citation information, etc.
tests/test_a_star/a_star.pyx
Outdated
#cdef class TreeNode: | ||
# cdef public x_indices | ||
# cdef public double gplsh | ||
# cdef public long idx | ||
# | ||
# def __init__(self, x_indices, double gplsh, long idx): | ||
# self.x_indices = x_indices | ||
# self.gplsh = gplsh | ||
# self.idx = idx | ||
|
||
#cdef (double, long) key_func(TreeNode ele): | ||
#cdef tuple key_func(TreeNode ele): | ||
# cdef double gplsh = ele.gplsh | ||
# cdef long idx = ele.idx | ||
# return gplsh, -idx | ||
|
||
#cdef bool comp_func(TreeNode a, TreeNode b): | ||
# # note - no protection if allocated memory isn't long enough | ||
# return a.gplsh < a.gplsh |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove these comments
…to be modified back
No description provided.