At 2014-11-26 21:21:17 -0800, Deep Pradhan <[email protected]> wrote:
> Is it the same in the Pregel abstraction of GraphX too? Do we always have
> to input directed graphs to Pregel abstraction or can we also give
> undirected graphs?

Yes, all graphs in GraphX are directed, including in the Pregel API. 
User-defined functions can treat a graph as undirected by ignoring the 
direction of each edge and sending messages symmetrically, as in the connected 
components algorithm.

Ankur

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to