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.jyoti26ya...@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
>

Reply via email to