Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Move edge triangle count to the stable API #4382
Move edge triangle count to the stable API #4382
Changes from 16 commits
be543b1
327a07e
c623465
7cbb61f
6dbe157
3e12f02
1f00dd6
da330b3
913283d
d758071
ce3ff47
0ebb7f5
9d2d4f7
2019d99
701e33d
9a12994
0d74246
c103e52
686a214
50798d5
86fd201
9ca7f5e
aad7590
28149f7
0e69382
f893d24
30f891a
be7ed1a
e705eca
2453a6f
e69f862
2bb9cba
6a02f03
17017ec
13501fe
e5a0f2d
ca30c84
ba48f90
50231b6
b5d069a
5a03431
8ca19cd
0ca2953
56118f3
3463723
f047a41
52bc273
02e15e4
2030ed8
3385690
1c4ee11
5b1c248
b8e21c3
fefddc5
9e9a198
0ab7906
6439274
a3e041e
d4217b2
1c175dc
095d561
2408a95
03a2790
cf39539
a62ad7a
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the purpose of sort here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch. We no longer need this as we do not pass an edgelist to
edge_triangle_count
. In fact when we decompress the edges from the graph, they are already sorted.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This isn't approximate, right? (I mean except for the last chunk). This
approx_
naming convention is used when we are dealing with the CSR data structure and # edges should need to be aligned with the CSR offset array boundaries.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ya or if it is bigger than the number of edges. But I agree it doesn't align with the intended context (CSR data structure). I renamed it to
edges_to_intersect_per_iteration
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
num_remaining_edges to be clearer?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And prev_chunk_size = edgelist_srcs.size() - num_remaining_edges, so redundant.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
Can you be more clear here?