[GitHub] flink pull request: [FLINK-1515]Splitted runVertexCentricIteration...

2015-02-17 Thread martinkiefer
Github user martinkiefer commented on the pull request:

https://github.com/apache/flink/pull/402#issuecomment-74660459
  
I could change `PageRank` to read the number of vertices by broadcasting 
the result of `numberofVertices()` instead of providing it in the constructor 
of the algorithm. I guess, this is the use case that comes most naturally.


---
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 and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] flink pull request: [FLINK-1515]Splitted runVertexCentricIteration...

2015-02-15 Thread martinkiefer
GitHub user martinkiefer opened a pull request:

https://github.com/apache/flink/pull/402

[FLINK-1515]Splitted runVertexCentricIteration into 
createVertexCentricIteration and runVertexCentricIteration

I changed the process for running a vertex-centric iteration in Gelly into 
a two-step procedure:
1. `createVertexCentricIteration` returns a `VertexCentricIteration` object 
to allow developers to access features like broadcast data sets and  
aggregators.
2. `runVertexCentricIteration` expects a `VertexCentricIteration` and 
returns the `Graph`.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/martinkiefer/flink iteration

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/flink/pull/402.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #402


commit 151e4c3be53bb61ee1c33b4ce4f36c03bcfabc3e
Author: Martin Kiefer martinkie...@boxm.de
Date:   2015-02-15T17:07:52Z

Splitted runVertexCentricIteration into createVertexIteration and 
runVertexIteration to make VertexCentricIteration object accessible to 
developers.




---
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 and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---