Gelly message type

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Gelly message type

Yi ZHOU-2
I have a question about Gelly, can i use Tuple2<K, Double> as message type?


Reply | Threaded
Open this post in threaded view
|

Re: Gelly message type

Vasiliki Kalavri
Hi Yi Zhou,

are you referring to the VertexCentricIteration's message type?
If yes, sure, you can certainly use a Tuple2 there.
For example, look at the community Detection library method [1]. It uses a
Tuple2<Long, Double> as message type.

-Vasia.

[1]:
https://github.com/apache/flink/blob/master/flink-staging/flink-gelly/src/main/java/org/apache/flink/graph/library/SimpleCommunityDetection.java

On 6 April 2015 at 21:26, Yi ZHOU <[hidden email]> wrote:

> I have a question about Gelly, can i use Tuple2<K, Double> as message type?
>
>
>