[ https://issues.apache.org/jira/browse/HAMA-556?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13270281#comment-13270281 ]
Thomas Jungblut commented on HAMA-556: -------------------------------------- come on, this is a single line edit. I don't want to generate the patch for that again :p I am going to commit this patch tonight and add this line. > 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 core > Affects Versions: 0.5.0 > Reporter: praveen sripati > Assignee: Thomas Jungblut > Priority: Minor > Fix For: 0.6.0 > > Attachments: HAMA-556.patch, HAMA-556_1.patch > > > 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