-
Notifications
You must be signed in to change notification settings - Fork 13.9k
[FLINK-3772] [gelly] Graph algorithms for vertex and edge degree #1901
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
[FLINK-3772] [gelly] Graph algorithms for vertex and edge degree #1901
Conversation
Graph algorithms for annotating vertex degree for undirected graphs vertex out-, in-, and out- and in-degree for directed graphs edge source, target, and source and target degree for undirected graphs
This is an optimization for VertexDegreePair which need only perform a single join and for the edge annotations which do not need zero degree vertices.
for algorithms which, for example, use an edge weight.
66f6f0e to
3126efd
Compare
57ff7e4 to
45c4724
Compare
docs/apis/batch/libs/gelly.md
Outdated
| <td><strong>TranslateGraphIds</strong></td> | ||
| <td>degree.annotate.directed.<br/><strong>VertexInDegree</strong></td> | ||
| <td> | ||
| <p>Annotate vertices of a directed graph with the in-degree count.</p> |
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 do you mean by in-degree "count"? What's the result of this operation?
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.
I am removing "count" from the descriptions since "degree" implies a count.
|
@greghogan, after your last commit, there are several gelly test cases failing on travis. Could you please take a look? Thanks! |
|
@vasia I had looked at one of the failed tests and it wasn't due to bad logic but rather to running out of some minimal number of memory buffers. This results, I expect, from updating the |
|
I've only left a minor comment @greghogan, otherwise I think it's good to merge. |
|
Merging ... |
|
Closed in 70181b2 |
Graph algorithms for annotating