giraph-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apostolos Koutras <>
Subject Re: overriding vertex value
Date Sat, 22 Feb 2014 13:43:07 GMT
The main algorithm is based on SimpleShortestPaths***.java.
In order to implement the new algorithm I had to override the message value
as well as the vertex value.

I dug up the examples, and the most compatible files where the files about
bracha-something calculation.

The overrided vertex value is and is based on
 Bracha* and in there lies the problem I suppose, probably due to
misconfigurating the serializer

// Serialization functions -----------------------------------------------

  public void readFields(DataInput input) throws IOException {
 //   this.distance=input.readLong();

  public void write(DataOutput output) throws IOException {
    int sz;



Of course, when I try to run the example I try to use the following
handler, that works for the simpleShortest paths, but now that I've
overriden the vertex value???

 The main code of the project is on   , to get
the whole idea...
At the moment Iam in a stalemate.... Any ideas so that I can make even a
small step are needed... Thanks..

On Sat, Feb 22, 2014 at 2:32 PM, Sebastian Schelter <> wrote:

> Hi Apostolous,
> can you provide a few more details on what you're exactly trying to
> achieve?
> Best,
> Sebastian
> On 02/22/2014 01:07 PM, Apostolos Koutras wrote:
>> Hi to all, can you please direct be to an older post of how to override
>> the
>> vertex value and implement the serializer? Iam still in the dark....
>> Thank you...

View raw message