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

Add distance from starting node for in- and out-components #1877

Merged
merged 2 commits into from
Nov 29, 2024

Conversation

ljeub-pometry
Copy link
Collaborator

What changes were proposed in this pull request?

Change the return of in-component and out-component to include the distance from the starting node.

Why are the changes needed?

The distances are often useful context and can be obtained almost for free during the algorithm but are hard to compute later.

Does this PR introduce any user-facing change? If yes is this documented?

Documentation is adjusted to reflect the new return type

How was this patch tested?

adjusted the tests to test the distances as well

Are there any further changes required?

@miratepuffin miratepuffin merged commit e018f20 into master Nov 29, 2024
19 checks passed
@miratepuffin miratepuffin deleted the feature/DistanceInOutComponents branch November 29, 2024 15:41
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