Re: Way to find the worker id of a given vertex id

2015-09-22 Thread Thomas Karampelas
Thanks for the reply. I am working on the scope of an extention of the BasicComputationClass (let's say SimpleShortestPathsComputation). It seems to me that from there I don't have access to an object having the accessor that you've mentioned(*getVertexPartitionOwner

Re: Way to find the worker id of a given vertex id

2015-09-21 Thread Flavian Jacquot
Hi, A solution would be to be to get the partition owner and then get the worker info. You can use *getVertexPartitionOwner * (I

Re: Way to find the worker id of a given vertex id

2015-09-21 Thread Flavian Jacquot
2015-09-21 20:00 GMT+02:00 Thomas Karampelas : > Hi, > > Is there a way to find the worker id of a vertex, given a vertex id? > I saw this [1] and I get that by calling > getWorkerContext().getMyWorkerIndex() it is possible to get current > vertex's worker id. > But is it possible to find the work

Way to find the worker id of a given vertex id

2015-09-21 Thread Thomas Karampelas
Hi, Is there a way to find the worker id of a vertex, given a vertex id? I saw this [1] and I get that by calling getWorkerContext().getMyWorkerIndex() it is possible to get current vertex's worker id. But is it possible to find the worker ids of all its neighbour vertexes at that point? [1