[
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