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.javaOn 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?
>
>
>