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

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

Github user vasia commented on a diff in the pull request:

    https://github.com/apache/flink/pull/1329#discussion_r44008153
  
    --- Diff: 
flink-libraries/flink-gelly-scala/src/main/scala/org/apache/flink/graph/scala/Graph.scala
 ---
    @@ -968,6 +968,46 @@ TypeInformation : ClassTag](jgraph: jg.Graph[K, VV, 
EV]) {
       }
     
       /**
    +   * Performs intersect on the edge sets of the input graphs. Edges are 
considered equal, if they
    +   * have the same source identifier, target identifier and edge value.
    +   * <p>
    +   * The algorithm computes pairs of matching edges from the input graphs. 
If the same edge occurs
    --- End diff --
    
    algorithm => method?


> Add intersect method to Graph class
> -----------------------------------
>
>                 Key: FLINK-2905
>                 URL: https://issues.apache.org/jira/browse/FLINK-2905
>             Project: Flink
>          Issue Type: New Feature
>          Components: Gelly
>    Affects Versions: 0.10
>            Reporter: Martin Junghanns
>            Assignee: Martin Junghanns
>            Priority: Minor
>
> Currently, the Gelly Graph supports the set operations 
> {{Graph.union(otherGraph)}} and {{Graph.difference(otherGraph)}}. It would be 
> nice to have a {{Graph.intersect(otherGraph)}} method, where the resulting 
> graph contains all vertices and edges contained in both input graphs.



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

Reply via email to