[
https://issues.apache.org/jira/browse/HAMA-556?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13256679#comment-13256679
]
Thomas Jungblut commented on HAMA-556:
--------------------------------------
We can use the logic in our SuperstepBSP's Superstep class where you can halt
the computation by overriding a boolean-returning function.
> Graph package to support stopping the interations when the node changes are
> within the tolerance value as in the case of page rank
> ----------------------------------------------------------------------------------------------------------------------------------
>
> Key: HAMA-556
> URL: https://issues.apache.org/jira/browse/HAMA-556
> Project: Hama
> Issue Type: New Feature
> Components: bsp
> Affects Versions: 0.5.0
> Reporter: praveen sripati
> Priority: Minor
> Fix For: 0.5.0, 0.6.0
>
>
> Currently in the graph package, the iteration continues till the nodes are no
> longer updated (absolutely) or the maximum number of iterations has reached.
> It doesn't support testing the node changes with some tolerance and then stop
> the iterations as in the case of page rank.
> The above scenario might be applicable besides page rank also.
> org.apache.hama.graph.GraphJobRunner#bsp()
> while (updated && iteration < maxIteration) {
> ......
> ......
> }
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira