Send to all in gelly scatter

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

Send to all in gelly scatter

Alieh Saeedi
Hi 
Is it possible to send a message to all vertices in gelly scatter? How the Ids of all vertices can be found out?

Thanks in advance
Reply | Threaded
Open this post in threaded view
|

Re: Send to all in gelly scatter

Ufuk Celebi
I think you can only send messages to the directly connected vertices.

On Tue, Jun 14, 2016 at 5:30 PM, Alieh Saeedi <[hidden email]> wrote:
> Hi
> Is it possible to send a message to all vertices in gelly scatter? How the
> Ids of all vertices can be found out?
>
> Thanks in advance
Reply | Threaded
Open this post in threaded view
|

Re: Send to all in gelly scatter

Vasiliki Kalavri
Hi Alieh,

you can send a message from any vertex to any other vertex if you know the vertex ID. In [1] you will find a table that compares the update logic and communication scope for all gelly iteration models.
Bear in mind though, that sending a message from all vertices to all other vertices is a very expensive operation and will not scale to large graphs. You might need to find another way to express your computation.

Cheers,
-Vasia.

On 15 June 2016 at 17:42, Ufuk Celebi <[hidden email]> wrote:
I think you can only send messages to the directly connected vertices.

On Tue, Jun 14, 2016 at 5:30 PM, Alieh Saeedi <[hidden email]> wrote:
> Hi
> Is it possible to send a message to all vertices in gelly scatter? How the
> Ids of all vertices can be found out?
>
> Thanks in advance

Reply | Threaded
Open this post in threaded view
|

Re: Send to all in gelly scatter

Vasiliki Kalavri

On 15 June 2016 at 20:59, Vasiliki Kalavri <[hidden email]> wrote:
Hi Alieh,

you can send a message from any vertex to any other vertex if you know the vertex ID. In [1] you will find a table that compares the update logic and communication scope for all gelly iteration models.
Bear in mind though, that sending a message from all vertices to all other vertices is a very expensive operation and will not scale to large graphs. You might need to find another way to express your computation.

Cheers,
-Vasia.

On 15 June 2016 at 17:42, Ufuk Celebi <[hidden email]> wrote:
I think you can only send messages to the directly connected vertices.

On Tue, Jun 14, 2016 at 5:30 PM, Alieh Saeedi <[hidden email]> wrote:
> Hi
> Is it possible to send a message to all vertices in gelly scatter? How the
> Ids of all vertices can be found out?
>
> Thanks in advance