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
Move radius, diameter and eccentricity methods from generic_graph.py to graph.py and digraph.py #29660
Comments
Branch: u/gh-vipul79321/ticket29660 |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Commit: |
Author: Vipul Gupta |
comment:4
+ # Eccentricity
+ # Radius
+ if algorithm in ['Floyd-Warshall-Python', 'Floyd-Warshall-Cython', 'Johnson_Boost']:
+ dist_dict = self.shortest_path_all_pairs(by_weight, algorithm,
+ weight_function,
+ check_weight)[0]
+ algorithm = 'From_Dictionary' Overall, I think this change ease the identification of missing methods and bad implementation choices. We must avoid as much as possible the use of |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:6
Replying to @dcoudert:
Done |
Reviewer: David Coudert |
comment:7
LGTM. |
Changed keywords from gsoc to gsoc20 |
comment:8
just update the keyword to gsoc20 |
Changed branch from u/gh-vipul79321/ticket29660 to |
Currently radius, diameter and eccentricity computation methods are in generic_graph.py file. Since graph and digraph both have different algorithms for their computation. So it would be nice to have these method separately for graph and digraph in respective files.
CC: @dcoudert
Component: graph theory
Keywords: gsoc20
Author: Vipul Gupta
Branch/Commit:
9e2dcc8
Reviewer: David Coudert
Issue created by migration from https://trac.sagemath.org/ticket/29660
The text was updated successfully, but these errors were encountered: