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 method to get vertices sorted by their degree #68

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Morinator
Copy link
Contributor

i used on function to do both ascending and descending

are there cases where we need to retrofit this method to old parts of the code?

@Morinator Morinator requested a review from LucaStaus March 17, 2023 17:59
@LucaStaus
Copy link
Contributor

use bucket sort instead of the sortedBy function.

@LucaStaus LucaStaus linked an issue Mar 19, 2023 that may be closed by this pull request
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.

Create Iterator for iterating over vertices in degree order
2 participants