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 | Class and Description |
---|---|
class |
DelegateTree<V,E>
An implementation of
Tree that delegates to
a specified instance of DirectedGraph . |
class |
OrderedKAryTree<V,E>
An implementation of
Tree in which each vertex has
<= k children. |
Modifier and Type | Method and Description |
---|---|
static <V,E> Factory<Tree<V,E>> |
DelegateTree.getFactory()
Returns a
Factory that creates an instance of this graph type. |
java.util.Collection<Tree<V,E>> |
DelegateForest.getTrees() |
java.util.Collection<Tree<V,E>> |
DelegateTree.getTrees() |
java.util.Collection<Tree<V,E>> |
Forest.getTrees()
Returns a view of this graph as a collection of
Tree instances. |
java.util.Collection<Tree<V,E>> |
OrderedKAryTree.getTrees() |
Modifier and Type | Method and Description |
---|---|
void |
DelegateForest.addTree(Tree<V,E> tree)
Adds
tree to this graph as an element of this forest. |
Modifier and Type | Method and Description |
---|---|
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 . |
Modifier and Type | Method and Description |
---|---|
static <V,E> edu.uci.ics.jung.graph.util.Graphs.SynchronizedTree<V,E> |
Graphs.synchronizedTree(Tree<V,E> tree)
Returns a synchronized Tree backed by the passed Tree.
|
static <V,E> edu.uci.ics.jung.graph.util.Graphs.UnmodifiableTree<V,E> |
Graphs.unmodifiableTree(Tree<V,E> tree)
Returns an unmodifiable
Tree backed by the passed tree. |
Copyright © 2021, 2022 Herve Girod. All Rights Reserved. Documentation and source under the BSD 3-Clause licence