-
Notifications
You must be signed in to change notification settings - Fork 94
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
Can kahypar give the hyperedges those are cut after partition? #194
Comments
Hi @RoyIronGrey, Yes, this is possible via: for e in hypergraph.edges():
if hypergraph.connectivity(e) > 1:
print (f"cut edge: {e}") The entire interface available and (somewhat poorly) documented here: https://github.com/kahypar/kahypar/blob/master/python/module.cpp |
Thanks for your reply. The |
|
Thanks a lot! |
e.x., when I execute the python/tests/test_kahypar.py, I can get the block of each node belonging. Can I get the hyperedges those are cut from any function. I coded a function to do that, but it is inefficient.
The text was updated successfully, but these errors were encountered: