Hi,
I'm looking through the Pregel algorithm Scaladocs and least in 1.5.1
there seems to me some contradiction between the specification for
<activeDirection> and <sendMsg>:
activeDirection
the direction of edges incident to a vertex that received a message
in the previous round on which to run|sendMsg|. For example, if this
is|EdgeDirection.Out|, only out-edges of vertices that received a
message in the previous round will run.
sendMsg
a user supplied function that is applied to out edges of vertices
that received messages in the current iteration
As I understand it it seems <activeDirection> specifies which edges
incident to a given vertex will undergo the <sendMsg> operation in the
next iteration, so it would not be correct that <sendMsg> is "a user
supplied function that is applied to *out* edges of vertices", but
rather "a user supplied function that is applied to <activeDirection>
edges of vertices"? Am I missing something conceptually or is this a
documentation error?