You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@giraph.apache.org by "Alessandro Presta (JIRA)" <ji...@apache.org> on 2013/03/25 17:35:17 UTC

[jira] [Updated] (GIRAPH-586) Customizable default vertex value

     [ 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