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
diameter computation in undirected graphs using certificates #29744
Comments
Branch: u/gh-vipul79321/ticket29744 |
Commit: |
Reviewer: David Coudert |
comment:4
The paper is unclear for the line Since we don't know e(x), we do as follows (a
It might be suitable to maintain the list of vertices from which we have not yet computed a BFS. Don't forget to add this ticket in the meta ticket. Also, I have not checked if a previously opened ticket was trying to implement the same algorithm... |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:6
Replying to @dcoudert:
I have added following changes and performance improved a little, but still not comparable to iFUB.
It unclear to me, how we should use list of active vertices. Can you explain this part, so I can work on it. |
comment:7
let active be the list of vertices while True, do:
Hope it helps. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:9
Replying to @dcoudert:
I have update my method as you mentioned. But there is no improvement in performance. One major drawback of our code is that sometimes it never comes out of inner while loop. This happens, because there is no vertex in We have to figure out a way to deal with this situation when there is no such vertex in I have following suggestions:
|
Changed dependencies from #29660 to none |
comment:10
I pushed a new branch with a different version of the algorithm. For me it's better and it is generally faster than iFUB. New commits:
|
Changed branch from u/gh-vipul79321/ticket29744 to public/graphs/29744_diameter_DHV |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:12
I have fixed that.
Maybe above graphs are the worst cases of this algorithm. |
comment:13
if we need to add For the performance, try a large sparse graph, or |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:15
You are right, we need to add May be we should rename the method You can now make this method available from the diameter method in |
comment:16
Replying to @dcoudert:
Yeah, that will be good.
Before doing this. I was wondering maybe I should implement the weighted version of this algorithm in |
comment:17
Feel free to do it. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:35
I fix merge conflict with 9.2.beta2. Please check that everything is working well. |
comment:36
Replying to @dcoudert:
I have checked boundary cases. It looks good to me. |
comment:37
LGTM. the pycodestyle warnings reported by the patchbot are fixed in #29804 |
comment:38
Merge conflict |
comment:40
Replying to @sagetrac-git:
Done some minor change in documentation. Merge conflict still to be solved in next release |
comment:41
OK, let's wait for next beta to see the issue. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:43
Replying to @sagetrac-git:
Fixed merge conflict with 9.2beta5 |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:46
I did a minor change because in ticket #30145 I'm preparing the deprecation of LGTM |
Changed branch from public/graphs/29744_diameter_DHV to |
This ticket aims to implement diameter computation method for weighted and unweighted undirected graphs, as given in http://arxiv.org/abs/1803.04660
CC: @dcoudert
Component: graph theory
Keywords: gsoc2020
Author: Vipul Gupta
Branch/Commit:
3eed584
Reviewer: David Coudert
Issue created by migration from https://trac.sagemath.org/ticket/29744
The text was updated successfully, but these errors were encountered: