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

Dijkstra from graph #190

Open
jGaboardi opened this issue Dec 4, 2018 · 7 comments
Open

Dijkstra from graph #190

jGaboardi opened this issue Dec 4, 2018 · 7 comments
Assignees

Comments

@jGaboardi
Copy link
Member

  • Currently the dijsktra runs off the network spatial representation (arcs, vertices)

  • Include flag for dijkstra to run off graph when available (edges, nodes)

@jGaboardi jGaboardi self-assigned this Dec 4, 2018
@jGaboardi jGaboardi added this to the v1.4 Stable milestone Aug 13, 2019
@jGaboardi jGaboardi added this to To do in v1.4 Stable Aug 23, 2019
@jGaboardi jGaboardi removed this from To do in v1.4 Stable Dec 18, 2019
@jGaboardi jGaboardi added this to To do in v2.0.0 Stable Dec 18, 2019
@jGaboardi jGaboardi modified the milestones: v1.4 Stable, future release Jan 1, 2020
@jGaboardi
Copy link
Member Author

related to #365

@jGaboardi jGaboardi mentioned this issue Jan 6, 2020
13 tasks
@jGaboardi jGaboardi mentioned this issue Jan 23, 2020
34 tasks
@jGaboardi jGaboardi mentioned this issue Feb 18, 2020
21 tasks
@jGaboardi jGaboardi mentioned this issue Feb 26, 2020
18 tasks
@SimonPop
Copy link

Hello!

I am new to OS contribution but would love to participate in improving Spaghetti. This seemed to be a reasonable issue to start with.

I would like to know if it is still relevant to the current state of the project.

If so, I also had some questions about the design of this flag parameter:

  • Should the pred output (currently, the list of predecessors for each vertex in its shortest path to v0) contain nodes or find a way to translate that back in terms of vertices?
  • When the flag is set to True, but the graph isn't available, should it raise an error or fallback to the network with a warning?

Thanks :)

@jGaboardi
Copy link
Member Author

@SimonPop Hello! Thanks for adding to this thread before starting the work! And MANY thanks for considering spending your time & energy contributing to OSS.

I would like to know if it is still relevant to the current state of the project.

This question is a bit tricky. Work on spaghetti (along with my other PySAL work) is 100% in my free time, hence it has been relatively stagnant since 2019ish. There has been need and desire123 to modernize the internals of spaghetti and move away from using PySAL native geometries4 in order to improve performance. However, this has been tricky to plan and implement due a host of factors, and more importantly dedicated time to even make a viable plan. Complicating this issue is the relationship with libpysal broadly (and the planned GeoGraph functionality there) and other confederated submodules, like momepy and segregation. The goal is probably to have one dedicated way create graph/network topology in the PySAL ecosystem and all submodules to build off that as needed.

I will absolutely not say "don't work on this issue!", but I would discourage it so that you might spend your valuable time working for something more likely to get merged.

@martinfleis @knaaptime Do you have any thoughts here or anything to add?

Footnotes

  1. GH#195

  2. GH#403

  3. GH#725

  4. GH#646

@martinfleis
Copy link
Member

@jGaboardi you pretty much covered it.

@SimonPop
Copy link

Hello @jGaboardi ,

Thank you very much for your complete and honest answer.

I now have a better understanding of the issues and difficulties surrounding this project and spaghetti more generally.

Indeed, I think it would be more relevant for me to learn more about the existing PySAL development plans for network/graph standardization before committing to any of them.

I will definitely try to read more about momepy, segregation and libpysal ahead of time before picking an issue to work on.

Many thanks again!

@jGaboardi
Copy link
Member Author

Also, checkout spopt if you are interested. We've had much more development over there in the past several years.

@SimonPop
Copy link

Noted :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
v2.0.0 Stable
  
To do
Development

No branches or pull requests

3 participants