| Package | Description |
|---|---|
| edu.uci.ics.jung.graph |
Interfaces for the JUNG graph types, and some representative implementations.
|
| edu.uci.ics.jung.graph.util |
Utility interfaces and classes for the JUNG API.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
Tree<V,E>
A subtype of
Graph which is a (directed, rooted) tree. |
| Modifier and Type | Method and Description |
|---|---|
static <V,E> void |
TreeUtils.addFromSubTree(Forest<V,E> tree,
Forest<V,E> subTree,
E edge,
V parent,
V root) |
static <V,E> void |
TreeUtils.addFromSubTree(Forest<V,E> tree,
Forest<V,E> subTree,
E edge,
V parent,
V root) |
static <V,E> void |
TreeUtils.addSubTree(Forest<V,E> tree,
Forest<V,E> subTree,
V node,
E connectingEdge)
Connects
subTree to tree by attaching it as a child
of node with edge connectingEdge. |
static <V,E> void |
TreeUtils.addSubTree(Forest<V,E> tree,
Forest<V,E> subTree,
V node,
E connectingEdge)
Connects
subTree to tree by attaching it as a child
of node with edge connectingEdge. |
static <V,E> List<V> |
TreeUtils.getRoots(Forest<V,E> forest) |
static <V,E> Tree<V,E> |
TreeUtils.getSubTree(Forest<V,E> forest,
V root)
Returns the subtree of
tree which is rooted at root as a Forest. |
static <V,E> void |
TreeUtils.growSubTree(Forest<V,E> tree,
Forest<V,E> subTree,
V root)
Populates
subtree with the subtree of tree
which is rooted at root. |
static <V,E> void |
TreeUtils.growSubTree(Forest<V,E> tree,
Forest<V,E> subTree,
V root)
Populates
subtree with the subtree of tree
which is rooted at root. |
static <V,E> edu.uci.ics.jung.graph.util.Graphs.SynchronizedForest<V,E> |
Graphs.synchronizedForest(Forest<V,E> forest)
Returns a synchronized Forest backed by the passed Forest.
|
static <V,E> edu.uci.ics.jung.graph.util.Graphs.UnmodifiableForest<V,E> |
Graphs.unmodifiableForest(Forest<V,E> forest)
Returns an unmodifiable
Forest backed by the passed forest. |
Copyright © 2016. All rights reserved.