-
Notifications
You must be signed in to change notification settings - Fork 96
How can I print the result using Python API? #215
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
Comments
If you want to write out the actual partition file, you can add write-partition=1 to the .ini config file you use for partitioning. That should create a partition file named |
Hey@SebastianSchlag , |
A usage example would be this: for node in hypergraph.nodes():
blockID = hypergraph.blockID(node)
print(f"Node {node} is mapped to block {blockID}") |
Hi @N-Maas ,
And I got this output:
Could you tell me what's |
These are other quality metrics. SOED is the shorthand for the Sum-Of-External-Degrees metric, (k-1) is the shorthand for the connectivity (sometimes also called (
The for net in hypergraph.edges():
blockID = hypergraph.blockID(net)
print(f"Net {net} is mapped to block {blockID}") actually just returns the block IDs of the first 4 vertices (with ids 0, 1, 2, and 3), since |
Is there anything missing from the code shown on the website?
HOW can I print the partitioning result?
The text was updated successfully, but these errors were encountered: