public class GraphGrouper extends Object
Constructor and Description |
---|
GraphGrouper(org.apache.storm.shade.org.jgrapht.DirectedGraph<Node,IndexedEdge> graph,
Collection<Group> initialGroups) |
Modifier and Type | Method and Description |
---|---|
void |
addGroup(Group g) |
Collection<Group> |
getAllGroups() |
Collection<Group> |
incomingGroups(Group g) |
void |
mergeFully() |
Group |
nodeGroup(Node n) |
Collection<Group> |
outgoingGroups(Group g) |
void |
reindex() |
public GraphGrouper(org.apache.storm.shade.org.jgrapht.DirectedGraph<Node,IndexedEdge> graph, Collection<Group> initialGroups)
public Collection<Group> getAllGroups()
public void addGroup(Group g)
public void reindex()
public void mergeFully()
public Collection<Group> outgoingGroups(Group g)
public Collection<Group> incomingGroups(Group g)
Copyright © 2019 The Apache Software Foundation. All rights reserved.