[ https://issues.apache.org/jira/browse/FLINK-2905?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14976488#comment-14976488 ]
Vasia Kalavri commented on FLINK-2905: -------------------------------------- I see what you mean, but I'm a bit confused by Call 1. Since we don't have a unique identifier, why output both {{1,3,13}} edges in E(G')? Isn't that more like a union? I would see the point if we could differentiate where each edge came from, but we can't. > 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)