giraph-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jyoti Yadav <rao.jyoti26ya...@gmail.com>
Subject Re: Running an algo for selected no of vertices..
Date Sat, 04 Jan 2014 15:17:37 GMT
Thanks Peter for your reply.
I want to explain more about my problem..
Suppose I want to implement SingleSourceShortestPath algo for some vertices.
Then how i will proceed??How I will change Source_id once algo is completed
for one vertex?

Thanks
Jyoti


On Sat, Jan 4, 2014 at 7:56 PM, Peter Grman <peter.grman@gmail.com> wrote:

> Yes, you know which vertex you are and in which step you are, so if you
> implement it correctly you can run during the first superstep some
> computations on vertex(2) and in the second superstep on vertex(5)
>
> You could simply ignore your compute function in the first superstep on
> all vertices except vertex2 and in the end send out messages to those
> vertices which should continue with the computation. You could also run
> your compute function on only one vertex in each superstep, but then I'm
> not quite sure why you would want to use giraph.
>
> cheers
> Peter
>
>
> On Sat, Jan 4, 2014 at 3:04 PM, Jyoti Yadav <rao.jyoti26yadav@gmail.com>wrote:
>
>> Hi folks..
>> I am trying to implement some graph algorithm .I want compute function to
>> run for some selected number of vertices.
>> For eg.
>> first compute function run for vertex id=2,when its work is
>> completed,then i want to run compute function for vertex id =5.
>>
>> Is it possible in giraph???
>>
>> Any ideas??
>> With Regards
>> Jyoti
>>
>
>

Mime
View raw message