Addressing specific edge in scatter

User 350 | 6/11/2014, 10:46:45 PM


Is it possible to do something like: "if( == 10)" in scatter when using distributed graph?

It looks like there is no id() member in the case of distributed graph. I want to perform scatter on a subset of neighbors but don't want to collect neighbors IDs.

Thanks, Michael.


User 6 | 6/12/2014, 4:43:52 AM

Hi Michel, You can add a binary variable on an edge and based on it have the edge active or not.


User 350 | 6/12/2014, 3:55:37 PM

Hi Danny,

Thank you for the reply. But how I can set this variable during the runtime? For example, what if I want to perform scatter to exactly 5 random neighbors without learning their IDs?