giraph-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claudio Martella (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GIRAPH-644) In the SimpleShortestPathVertex, vertex values get not initialized with edge list input format
Date Thu, 18 Apr 2013 23:45:15 GMT

    [ https://issues.apache.org/jira/browse/GIRAPH-644?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13635850#comment-13635850
] 

Claudio Martella commented on GIRAPH-644:
-----------------------------------------

actually, performance-wise it could be enough to invert the two conditions in the if, so getValue()
does not have to be called all the time.
                
> In the SimpleShortestPathVertex, vertex values get not initialized with edge list input
format 
> -----------------------------------------------------------------------------------------------
>
>                 Key: GIRAPH-644
>                 URL: https://issues.apache.org/jira/browse/GIRAPH-644
>             Project: Giraph
>          Issue Type: Bug
>          Components: examples
>            Reporter: Maria Stylianou
>         Attachments: GIRAPH-644.diff
>
>
> Vertices that get created by receiving a message (and not created on superstep 0) do
not get the value initialized by MAX_VALUE.
> This happens when the vertex is not given on the first column in the input file. This
means that the vertex is not created at the beginning but only when it receives a message,
hence the initialization call is not executed and the vertex value is set to 0.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message