incubator-giraph-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gianmarco De Francisci Morales (JIRA)" <>
Subject [jira] [Commented] (GIRAPH-191) Random Walks on Graphs
Date Fri, 18 May 2012 17:59:06 GMT


Gianmarco De Francisci Morales commented on GIRAPH-191:

I tested the patch and it looks like it's working.
I had to change the config parameter to add .getName() to SOURCE_VERTEX in
    /** Configuration parameter for the source vertex */
    static final String SOURCE_VERTEX =
            RandomWalkWithRestartVertex.class.getName() + ".sourceVertex";

Otherwise the String reads as "class blah..."

I compared some toy output with a reference implementation and it looks good!

I think the next step would be to support weighted graphs.
The graph can be made stochastic on the fly, at loading time.

I will try to hack some code.

> Random Walks on Graphs
> ----------------------
>                 Key: GIRAPH-191
>                 URL:
>             Project: Giraph
>          Issue Type: New Feature
>          Components: examples
>    Affects Versions: 0.2.0
>            Reporter: Gianmarco De Francisci Morales
>         Attachments: GIRAPH-191-1.patch, GIRAPH-191.patch
> Implementing RWR on Giraph should be a very simple modification of the SimplePageRankVertex
> {code}
> if ( myID == sourceID )
>       DoubleWritable vertexValue = new DoubleWritable((0.15f + 0.85f * sum);
> else
>       DoubleWritable vertexValue = new DoubleWritable(0.85f * sum);
> {code}
> It would be nice to make it as configurable as possible by using parametric damping factors,
preference vectors, strongly preferential, etc...
> More or less along these lines:

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message