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

diameter for large directed real graphs #29346

Open
ArchitWagle mannequin opened this issue Mar 16, 2020 · 13 comments
Open

diameter for large directed real graphs #29346

ArchitWagle mannequin opened this issue Mar 16, 2020 · 13 comments

Comments

@ArchitWagle
Copy link
Mannequin

ArchitWagle mannequin commented Mar 16, 2020

This method implements the [d2] algorithm for computing the diameter of real directed graphs.

[d2] Takuya Akiba, Yoichi Iwata, Yuki Kawata: An Exact Algorithm for Diameters of Large Real Directed Graphs. SEA 2015: 56-67 https://doi.org/10.1007/978-3-319-20086-6_5

It is designed for directed real sparse graphs.

Component: graph theory

Keywords: gsoc, diameter

Author: Madhav Wagle

Branch/Commit: u/gh-ArchitWagle/real_directed_diameter @ b1bb1ac

Issue created by migration from https://trac.sagemath.org/ticket/29346

@ArchitWagle ArchitWagle mannequin added this to the sage-9.1 milestone Mar 16, 2020
@ArchitWagle ArchitWagle mannequin added the p: major / 3 label Mar 16, 2020
@ArchitWagle
Copy link
Mannequin Author

ArchitWagle mannequin commented Mar 16, 2020

@ArchitWagle
Copy link
Mannequin Author

ArchitWagle mannequin commented Mar 16, 2020

Author: Madhav Wagle

@ArchitWagle
Copy link
Mannequin Author

ArchitWagle mannequin commented Mar 16, 2020

Commit: aceb725

@ArchitWagle
Copy link
Mannequin Author

ArchitWagle mannequin commented Mar 16, 2020

Changed keywords from none to gsoc, diameter

@ArchitWagle

This comment has been minimized.

@ArchitWagle ArchitWagle mannequin changed the title real directed diameter Implemented the directed diameter algorithm for real graphs in https://doi.org/10.1007/978-3-319-20086-6_5 Mar 16, 2020
@ArchitWagle ArchitWagle mannequin changed the title Implemented the directed diameter algorithm for real graphs in https://doi.org/10.1007/978-3-319-20086-6_5 diameter for large directed real graphs Mar 17, 2020
@dcoudert
Copy link
Contributor

comment:4

#29309 also implements the same algorithm. Shouldn't you join forces to obtain a stronger implementation ?

@ArchitWagle
Copy link
Mannequin Author

ArchitWagle mannequin commented Mar 28, 2020

comment:5

Replying to @dcoudert:

#29309 also implements the same algorithm. Shouldn't you join forces to obtain a stronger implementation ?

Hi, The definitions of diameter used by me and
#29309 are different. He has made simplifications to his code based on the standard definition of diameter (like making direct calls to

simple_BFS()

which returns diameter infinity for non strongly connected graphs.

My implementation considers the max finite eccentricty, as specified in https://doi.org/10.1007/978-3-319-20086-6_5
Which returns a finite diameter for both connected and unconnected graphs

His implementation would be a much better choice if we want to keep the definition of diameter the same for all algorithms.

On the other hand, I can also modify my implementation to allow the user to set a parameter to make a choice on which definition of diameter they want to use. I would only need to add 1-2 lines of code to my current implementation to do that.

@ArchitWagle
Copy link
Mannequin Author

ArchitWagle mannequin commented Mar 30, 2020

comment:6

Few changes to be made

@ArchitWagle ArchitWagle mannequin added s: needs work and removed s: needs info labels Mar 30, 2020
@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Mar 30, 2020

Branch pushed to git repo; I updated commit sha1. New commits:

b1bb1accorrected memset calls

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Mar 30, 2020

Changed commit from aceb725 to b1bb1ac

@mkoeppe
Copy link
Member

mkoeppe commented Apr 14, 2020

comment:8

Batch modifying tickets that will likely not be ready for 9.1, based on a review of the ticket title, branch/review status, and last modification date.

@mkoeppe mkoeppe modified the milestones: sage-9.1, sage-9.2 Apr 14, 2020
@mkoeppe mkoeppe modified the milestones: sage-9.2, sage-9.3 Sep 5, 2020
@mkoeppe
Copy link
Member

mkoeppe commented Feb 13, 2021

comment:10

Setting new milestone based on a cursory review of ticket status, priority, and last modification date.

@mkoeppe mkoeppe modified the milestones: sage-9.3, sage-9.4 Feb 13, 2021
@mkoeppe
Copy link
Member

mkoeppe commented Jul 19, 2021

comment:11

Setting a new milestone for this ticket based on a cursory review.

@mkoeppe mkoeppe modified the milestones: sage-9.4, sage-9.5 Jul 19, 2021
@mkoeppe mkoeppe modified the milestones: sage-9.5, sage-9.6 Dec 18, 2021
@mkoeppe mkoeppe modified the milestones: sage-9.6, sage-9.7 Apr 2, 2022
@mkoeppe mkoeppe modified the milestones: sage-9.7, sage-9.8 Sep 19, 2022
@mkoeppe mkoeppe removed this from the sage-9.8 milestone Jan 29, 2023
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

2 participants