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

Dead end removal #494

Merged
merged 11 commits into from
Feb 2, 2024
Merged

Conversation

Jake-Moss
Copy link
Contributor

This PR removes common "fish spines" from networks, reducing their size greatly.
Pre:
image
Post:
image

This method works by finding nodes that have "no choices" and thus would never be considered by path finding, it then starts a BFS removing links whose nodes also fit the criteria.

Todo

  • Test
  • Proper comparison to existing compression

@Jake-Moss Jake-Moss marked this pull request as ready for review January 29, 2024 06:16
@pedrocamargo pedrocamargo merged commit 0648ce3 into AequilibraE:develop Feb 2, 2024
25 checks passed
@pedrocamargo pedrocamargo deleted the dead_end_removal branch February 2, 2024 00:56
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

Successfully merging this pull request may close these issues.

2 participants