Every inputformat has a IVE signature with the type of vertex index, value
and edge value. They have to match the signature of the computation class
you're using.
In your case, the inputformat generates vertices with Long ids, while the
computation class expects floats.
On Mon, Nov 4, 2013 at
Thanks, Claudio.
I conclude from your mail, I have to create my own
PseudoRandomEdgeInputFormat and PseudoRandomVertexInputFormat with types,
which fit to the algorithm I want to use. So I misunderstood the concept
and not all InputFormats fit to any given implemented algorithm. I this
right?
Yes, you'll have to make sure that the pseudorandomedgeinputformat provides
the right types.
The code for the watts strogatz model is the same package as the
pseudorandom... but in trunk and not in 1.0.
On Mon, Nov 4, 2013 at 12:14 PM, Mirko Kämpf mirko.kae...@cloudera.comwrote:
Thanks,
That helped me a lot. Thanks.
Mirko
On Mon, Nov 4, 2013 at 7:33 PM, Claudio Martella claudio.marte...@gmail.com
wrote:
Yes, you'll have to make sure that the pseudorandomedgeinputformat
provides the right types.
The code for the watts strogatz model is the same package as the