public class DependencyGraph extends Object
Constructor and Description |
---|
DependencyGraph() |
Modifier and Type | Method and Description |
---|---|
void |
addEdge(Edge edge) |
<T extends Edge> |
addEdgesWithNodes(Iterable<T> edges) |
<T extends ProjectNode> |
addNodes(Iterable<T> nodes) |
Collection<Edge> |
findEdgeSet(ProjectNode from,
ProjectNode to) |
Collection<Edge> |
getEdges() |
edu.uci.ics.jung.graph.Graph<ProjectNode,Edge> |
getGraph() |
Collection<ProjectNode> |
getIsolatedNodes() |
Collection<ProjectNode> |
getNodes() |
public void addEdge(Edge edge)
public <T extends Edge> Set<ProjectNode> addEdgesWithNodes(Iterable<T> edges)
public <T extends ProjectNode> void addNodes(Iterable<T> nodes)
public Collection<Edge> getEdges()
public Collection<Edge> findEdgeSet(ProjectNode from, ProjectNode to)
public Collection<ProjectNode> getNodes()
public Collection<ProjectNode> getIsolatedNodes()
public edu.uci.ics.jung.graph.Graph<ProjectNode,Edge> getGraph()
Copyright © 2016–2020. All rights reserved.