You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@giraph.apache.org by "Omry Yadan (JIRA)" <ji...@apache.org> on 2013/06/06 19:39:20 UTC

[jira] [Commented] (GIRAPH-468) Make Vertex an Interface

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

Omry Yadan commented on GIRAPH-468:
-----------------------------------

this will also facilitate other vertex implementations that may be more efficient.
                
> Make Vertex an Interface
> ------------------------
>
>                 Key: GIRAPH-468
>                 URL: https://issues.apache.org/jira/browse/GIRAPH-468
>             Project: Giraph
>          Issue Type: Improvement
>            Reporter: Nitay Joffe
>            Assignee: Nitay Joffe
>         Attachments: GIRAPH-468.patch
>
>
> I made the following API:
>   Vertex - interface:
> addEdge
> getAllEdgeValues
> getConf
> getEdges
> getEdgeValue
> getId
> getMutableEdges
> getNumEdges
> getValue
> removeEdges
> setConf
> setEdges
> setEdgeValue
> setValue
> voteToHalt
>   IOVertex - interface extends Vertex:
> initialize
> initialize
> isHalted
> unwrapMutableEdges
> wakeUp
>   BasicAPI - implementation of IOVertex. The current Vertex code basically.
> The idea is to make the "Vertex" interface that user sees in Computation as clean and simple as possible.

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