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

Terrible performance of isomorphism check between morphisms #53

Open
ggazzi opened this issue Jun 1, 2017 · 0 comments
Open

Terrible performance of isomorphism check between morphisms #53

ggazzi opened this issue Jun 1, 2017 · 0 comments

Comments

@ggazzi
Copy link
Member

ggazzi commented Jun 1, 2017

The default implementation for isomorphism checking between morphisms scales terribly, since for every isomorphism between codomains it has to find isomorphism on the domains. In the case of graph morphisms, it could probably be improved.

The implementation could be a backtracking algorithm that takes each mapping $(a, b)$ in one of the morphisms and assigns it to some mapping $(x, y)$ in the other morphism, which forces the assignment $(a <-> x)$ in the domain isomorphism, and $(b <-> y)$ in the codomain isomorphism.

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

No branches or pull requests

1 participant