Skip to content
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

Add hopf rule and self-loop removal rules for multigraph #246

Open
RazinShaikh opened this issue Jun 29, 2024 · 2 comments
Open

Add hopf rule and self-loop removal rules for multigraph #246

RazinShaikh opened this issue Jun 29, 2024 · 2 comments

Comments

@RazinShaikh
Copy link
Contributor

RazinShaikh commented Jun 29, 2024

This is automatic for simple graph but needs to be new rewrite rules for multigraphs

@RazinShaikh RazinShaikh changed the title Add hopf rule for multigraph Add hopf rule and self-loop removal rules for multigraph Jun 29, 2024
@boldar99
Copy link
Contributor

boldar99 commented Jul 16, 2024

Should the implementation also apply to these cases?
image

My idea would be to implement two different functions, one to remove specific edges and another to remove all possible parallel edges between two vertices.

image Here, for example, on the top diagram, two edges are selected and removed while on the bottom one, every possible parallel edge is removed as the vertices are selected.

Does this sound good to you?

@RazinShaikh
Copy link
Contributor Author

It should also take care of the hadamard edges case. I agree that we should have two functions like you mentioned.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants