[GitHub] flink issue #2564: [FLINK-2254] Add BipartiateGraph class

2016-12-09 Thread mushketyk
Github user mushketyk commented on the issue: https://github.com/apache/flink/pull/2564 Hi @vasia , thank you for merging my PR. Thank you for the reminder about the documentation. I've created the JIRA for it: https://issues.apache.org/jira/browse/FLINK-5311 --- If your project

[GitHub] flink issue #2564: [FLINK-2254] Add BipartiateGraph class

2016-12-09 Thread greghogan
Github user greghogan commented on the issue: https://github.com/apache/flink/pull/2564 Thanks for the reminder @vasia. The separate JIRA sub-task does allow for a discussion of how best to document the full set of proposed bipartite functionality. --- If your project is set up for

[GitHub] flink issue #2564: [FLINK-2254] Add BipartiateGraph class

2016-12-09 Thread vasia
Github user vasia commented on the issue: https://github.com/apache/flink/pull/2564 Thank you both for your work @mushketyk and @greghogan! Please, keep in mind that we should always add documentation for every new feature; especially a big one such as supporting a new graph type.

[GitHub] flink issue #2564: [FLINK-2254] Add BipartiateGraph class

2016-12-08 Thread mushketyk
Github user mushketyk commented on the issue: https://github.com/apache/flink/pull/2564 Hi @greghogan , I've fixed the PR according to your review. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not

[GitHub] flink issue #2564: [FLINK-2254] Add BipartiateGraph class

2016-12-08 Thread mushketyk
Github user mushketyk commented on the issue: https://github.com/apache/flink/pull/2564 @vasia , @greghogan I've created a new package, moved new classes there and update PR according to your latest comments. Best regards, Ivan. --- If your project is set up for it, you

[GitHub] flink issue #2564: [FLINK-2254] Add BipartiateGraph class

2016-12-08 Thread greghogan
Github user greghogan commented on the issue: https://github.com/apache/flink/pull/2564 Yes, you are right, `bipartite`. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled a

[GitHub] flink issue #2564: [FLINK-2254] Add BipartiateGraph class

2016-12-08 Thread vasia
Github user vasia commented on the issue: https://github.com/apache/flink/pull/2564 I would go for `org.apache.flink.graph.bipartite`. I think that `bidirectional` simply suggests that each edge exists in both directions. --- If your project is set up for it, you can reply to this em

[GitHub] flink issue #2564: [FLINK-2254] Add BipartiateGraph class

2016-12-08 Thread greghogan
Github user greghogan commented on the issue: https://github.com/apache/flink/pull/2564 @mushketyk @vasia, thoughts on package naming? Should we create a new `org.apache.flink.bigraph` package? Another option would be `org.apache.flink.graph.bidirectional` which would suggest future p

[GitHub] flink issue #2564: [FLINK-2254] Add BipartiateGraph class

2016-12-07 Thread mushketyk
Github user mushketyk commented on the issue: https://github.com/apache/flink/pull/2564 Hi @greghogan, I've updated the PR according to your review and rebased it on top of the `master` branch. The only thing that I didn't change is the message in the `assertEquals`

[GitHub] flink issue #2564: [FLINK-2254] Add BipartiateGraph class

2016-12-05 Thread mushketyk
Github user mushketyk commented on the issue: https://github.com/apache/flink/pull/2564 Hi @greghogan , thank you for your review. I'll try to fix them in the next couple of days. Best regards, Ivan. --- If your project is set up for it, you can reply to this email an

[GitHub] flink issue #2564: [FLINK-2254] Add BipartiateGraph class

2016-11-24 Thread mushketyk
Github user mushketyk commented on the issue: https://github.com/apache/flink/pull/2564 @vasia I don't think anybody is shepherding this PR :) --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have

[GitHub] flink issue #2564: [FLINK-2254] Add BipartiateGraph class

2016-11-21 Thread vasia
Github user vasia commented on the issue: https://github.com/apache/flink/pull/2564 Thank @mushketyk. @greghogan are you shepherding this PR or shall I? --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project doe

[GitHub] flink issue #2564: [FLINK-2254] Add BipartiateGraph class

2016-11-10 Thread mushketyk
Github user mushketyk commented on the issue: https://github.com/apache/flink/pull/2564 @greghogan Thank you for the suggestion. The build is passing now. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your p

[GitHub] flink issue #2564: [FLINK-2254] Add BipartiateGraph class

2016-11-09 Thread greghogan
Github user greghogan commented on the issue: https://github.com/apache/flink/pull/2564 Try switching to `ExecutionEnvironment.createCollectionsEnvironment()`. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your proje

[GitHub] flink issue #2564: [FLINK-2254] Add BipartiateGraph class

2016-11-09 Thread mushketyk
Github user mushketyk commented on the issue: https://github.com/apache/flink/pull/2564 New **gelly** tests failed with errors like: > Caused by: java.io.IOException: Insufficient number of network buffers: required 32, but only 3 available. The total number of network buffers

[GitHub] flink issue #2564: [FLINK-2254] Add BipartiateGraph class

2016-11-06 Thread mushketyk
Github user mushketyk commented on the issue: https://github.com/apache/flink/pull/2564 @vasia @greghogan I've updated the PR. Could you please give it another look? --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If you

[GitHub] flink issue #2564: [FLINK-2254] Add BipartiateGraph class

2016-10-06 Thread vasia
Github user vasia commented on the issue: https://github.com/apache/flink/pull/2564 Thanks for the update @mushketyk and for the review @greghogan. I agree with your suggestions. For the type parameters I would go for ``. Let me know if there's any other issue you'd like my opinion on.

[GitHub] flink issue #2564: [FLINK-2254] Add BipartiateGraph class

2016-10-04 Thread mushketyk
Github user mushketyk commented on the issue: https://github.com/apache/flink/pull/2564 Hi @greghogan. Thank you for clarification. I'll update code accordingly. Do you have any other comments regarding the PR? --- If your project is set up for it, you can reply to this email and hav

[GitHub] flink issue #2564: [FLINK-2254] Add BipartiateGraph class

2016-10-04 Thread greghogan
Github user greghogan commented on the issue: https://github.com/apache/flink/pull/2564 The advantage to joining on vertex values before the grouped cross is that the number of projected vertices is quadratic in the vertex degree. The projected graphs will usually be much larger than

[GitHub] flink issue #2564: [FLINK-2254] Add BipartiateGraph class

2016-10-04 Thread mushketyk
Github user mushketyk commented on the issue: https://github.com/apache/flink/pull/2564 @greghogan @vasia I've update the code according to your suggestion. The only thing that I did differently: I return Tuple4 from a more complete version of a bottom/top projections it contains v

[GitHub] flink issue #2564: [FLINK-2254] Add BipartiateGraph class

2016-09-30 Thread mushketyk
Github user mushketyk commented on the issue: https://github.com/apache/flink/pull/2564 Makes sense to me. I'll implement this during weekend. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have

[GitHub] flink issue #2564: [FLINK-2254] Add BipartiateGraph class

2016-09-30 Thread greghogan
Github user greghogan commented on the issue: https://github.com/apache/flink/pull/2564 Agreed, I would amend my earlier suggestion to say we only need to start with two projection methods (for each of top and bottom), something like `public Graph> topProjectionSimple() {` an

[GitHub] flink issue #2564: [FLINK-2254] Add BipartiateGraph class

2016-09-30 Thread vasia
Github user vasia commented on the issue: https://github.com/apache/flink/pull/2564 What I meant is simply creating an edge with a Tuple2 label containing the labels of the two edges in the bipartite graph. Makes sense? --- If your project is set up for it, you can reply to this emai

[GitHub] flink issue #2564: [FLINK-2254] Add BipartiateGraph class

2016-09-30 Thread mushketyk
Github user mushketyk commented on the issue: https://github.com/apache/flink/pull/2564 Tuple8 does not seem to friendly to me either. What do you mean by "attaching the labels"? Is it something similar to what we do with Edge/Vertex classes right, inheriting Tuple and providing gette

[GitHub] flink issue #2564: [FLINK-2254] Add BipartiateGraph class

2016-09-30 Thread vasia
Github user vasia commented on the issue: https://github.com/apache/flink/pull/2564 Providing a flattened tuple is certainly better than having the user implement the reduce, but I think we should provide separate methods for the default and custom operations. A projection is a very w

[GitHub] flink issue #2564: [FLINK-2254] Add BipartiateGraph class

2016-09-29 Thread mushketyk
Github user mushketyk commented on the issue: https://github.com/apache/flink/pull/2564 Hi @greghogan, I like your ideas about providing different API for projections. This should be better than my approach. @vasia What do you think about this? --- If your project is se