##### Site index · List index
Message view
Top
From "Mohammad Fahim Azizi (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (FLINK-2044) Implementation of Gelly HITS Algorithm
Date Fri, 29 May 2015 11:00:43 GMT

]

-----------------------------------------------------------------------

Hey [~vkalavri],
the hits algorithm has two phases, hub rule and authority rule. these two phases are must
calculate simultaneously.
to use runVertexCentricIteration() for this algorithm, we apply following two different approaches
but we face with some problems (inside updateVertex function).

1. For switching  between hub rule and authority rule phases we used getSuperstepNumber()
inside of updateVertex function but problem is updateVertex function doesn't have functionality
to change direction of edges inside it.

2. to over come with this problem, we used undirected graph with labeled edges as "H" and
"A" (mean first we label the edges of directed graph as "A" then create revese of this graph
and label the edges as "H" and then union). but the problem is accessing of edge values inside
updateVertex function.

was (Author: fahim):
Hey [~vkalavri],
the hits algorithm has two phases, hub rule and authority rule. these two phases are must
calculate simultaneously.
to use runVertexCentricIteration() for this algorithm, we apply following two different approaches
but we face with some problems (inside updateVertex function).

1. For switching  between hub rule and authority rule phases we used getSuperstepNumber()
inside of updateVertex function but problem is updateVertex function doesn't have functionality
to change direction of edges inside it.

2. to over come with this problem, we used undirected graph with labeled edges as "H" and
"A" (mean first we label the edges of directed graph as "A" then create revese of this graph
and label the edges as "H" and then union). but the problem is accessing of edge values inside
updateVertex function.
Is there any solution to access edges inside updateVertex function?

> Implementation of Gelly HITS Algorithm
> --------------------------------------
>
>          Issue Type: Improvement
>          Components: Gelly
>            Reporter: Ahamd Javid
>            Priority: Minor
>
> Implementation of Hits Algorithm in Gelly API using Java. the feature branch can be found