[
https://issues.apache.org/jira/browse/GIRAPH-468?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nitay Joffe updated GIRAPH-468:
-------------------------------
Description:
Made Vertex an interface, with DefaultVertex as its implementation.
https://reviews.apache.org/r/11682/
was:
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
BasicVertex - 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.
https://reviews.apache.org/r/11682/
> 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
>
>
> Made Vertex an interface, with DefaultVertex as its implementation.
> https://reviews.apache.org/r/11682/
--
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