[
https://issues.apache.org/jira/browse/GIRAPH-586?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alessandro Presta updated GIRAPH-586:
-------------------------------------
Attachment: GIRAPH-586.patch
Adds a VertexValueFactory that can be optionally specified by the user.
It's initialized with the configuration.
DefaultVertexValueFactory implements the current behavior (caches the vertex
value class and uses reflection).
> Customizable default vertex value
> ---------------------------------
>
> Key: GIRAPH-586
> URL: https://issues.apache.org/jira/browse/GIRAPH-586
> Project: Giraph
> Issue Type: New Feature
> Reporter: Alessandro Presta
> Assignee: Alessandro Presta
> Attachments: GIRAPH-586.patch
>
>
> When Giraph implicitly adds a vertex (e.g., during edge-based input or
> mutations), the vertex value is created using reflection, so it is
> default-initialized (e.g., a double will be 0.0).
> For some algorithms, the default value might be something different, or even
> need to be read from the configuration at run-time.
--
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