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

ASF GitHub Bot commented on FLINK-1633:
---------------------------------------

Github user vasia commented on the pull request:

    https://github.com/apache/flink/pull/452#issuecomment-78461681
  
    Thanks for implementing this @andralungu!
    I have added some inline comments.
    
    Also, we are definitely missing documentation and an example using the 
method. 
    I would suggest something simple, like weighting an input graph, by 
computing the euclidean distance of the src/vertex values for each edge and 
attaching this value as the edge weight.
    What do you think?


> Add getTriplets() Gelly method
> ------------------------------
>
>                 Key: FLINK-1633
>                 URL: https://issues.apache.org/jira/browse/FLINK-1633
>             Project: Flink
>          Issue Type: New Feature
>          Components: Gelly
>    Affects Versions: 0.9
>            Reporter: Vasia Kalavri
>            Assignee: Andra Lungu
>            Priority: Minor
>              Labels: starter
>
> In some graph algorithms, it is required to access the graph edges together 
> with the vertex values of the source and target vertices. For example, 
> several graph weighting schemes compute some kind of similarity weights for 
> edges, based on the attributes of the source and target vertices. This issue 
> proposes adding a convenience Gelly method that generates a DataSet of 
> <srcVertex, Edge, TrgVertex> triplets from the input graph.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to