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

vertex_path and edge_path should use a_star #21

Open
mtfishman opened this issue Dec 21, 2022 · 2 comments
Open

vertex_path and edge_path should use a_star #21

mtfishman opened this issue Dec 21, 2022 · 2 comments

Comments

@mtfishman
Copy link
Member

vertex_path and edge_path should use a_star, which is now implemented for AbstractNamedGraph.

@mtfishman
Copy link
Member Author

Also, we could consider more explicit names like shortest_path_vertices and shortest_path_edges, possibly with extensions like shortest_path_tree that outputs a directed graph representing the path.

@mtfishman
Copy link
Member Author

@leburgel on a related topic, note that in #20 I added a wrapper for Graphs.steiner_tree, which finds the minimal spanning tree connecting multiple vertices (so in the case of two vertices, it should reduce to the shortest path between the two vertices). I was wondering if this is relevant for orthogonalizing a tree tensor network where the orthogonality center is a group of vertices towards a new center outside of that group, where I think a Steiner tree could help determine which vertices to orthogonalize. Maybe this is overkill for trees and you can just get the shortest path to one vertex in the orthogonality center region, but it seemed like steiner_tree must be useful somewhere...

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

1 participant