hama-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ηλίας Τριχόπουλος <itric...@csd.auth.gr>
Subject Re: Message class in Hama Graph
Date Mon, 15 Apr 2013 08:11:38 GMT
Thanks for your support!

I finally came up with the same idea, I will try it and see what happens

--
Ilias Trichopoulos
@nop33wordpress

On Apr 15, 2013, at 4:10 AM, Suraj Menon <surajsmenon@apache.org> wrote:

> With current implementation, if the messages sent are of same type per
> superstep, you can also define a base class for defining the message class
> and the API. The messages sent and received could be derived classes. Off
> course this would involve some casting.
> 
> -Suraj
> 
> 
> On Sun, Apr 14, 2013 at 8:31 PM, Edward <edward@udanax.org> wrote:
> 
>> You can use MapWritable to send different type messages among processors.
>> 
>> Sent from my iPhone
>> 
>> On Apr 15, 2013, at 7:28 AM, Ηλίας Τριχόπουλος <itrichop@csd.auth.gr>
>> wrote:
>> 
>>> Hello everyone,
>>> 
>>> I am new in developing with Hama and generally with BSP model.
>>> The Vertex interface expects an argument "M" that defines the message
>> class. In my class that extends the Vertex class, I am using the
>> sendMessageToNeighboors method (inside the compute method). The
>> sendMessageToNeighboors method expects the same argument type as the Vertex
>> class for the message. During the computation (in different supersteps) I
>> want to be able to send different kind of messages.
>>> Is this somehow possible?
>>> 
>>> Thank you,
>>> --
>>> Ilias Trichopoulos
>>> @nop33wordpress
>>> <linkedin-button.png.opt45x45o0,0s45x45.png>
>>> 
>> 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message