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/22 22:09:16 UTC

[jira] [Updated] (GIRAPH-579) Make it possible to use different out-edges data structures for input and computation

     [ https://issues.apache.org/jira/browse/GIRAPH-579?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alessandro Presta updated GIRAPH-579:
-------------------------------------

    Attachment: GIRAPH-579.patch

Uploaded an old version by mistake. This one has a better test case.
                
> Make it possible to use different out-edges data structures for input and computation
> -------------------------------------------------------------------------------------
>
>                 Key: GIRAPH-579
>                 URL: https://issues.apache.org/jira/browse/GIRAPH-579
>             Project: Giraph
>          Issue Type: New Feature
>            Reporter: Alessandro Presta
>            Assignee: Alessandro Presta
>         Attachments: GIRAPH-579.patch, GIRAPH-579.patch
>
>
> In some cases, the properties we want in the VertexEdges implementation during input may differ from the ones we want during computation.
> Two examples:
> 1) During input, we want to keep only the top K edges according to weight, so we use a fixed-size min-heap. During computation, our algorithm needs fast random access, so we use a hash-map.
> 2) We have a VertexEdges implementation that's optimized for space and/or iteration speed, but has slow insertion. We can then use a different data structure that has fast insertion during input.
> We can add an option to specify a different VertexEdges class to be used in EdgeStore during input.

--
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