Uses of Interface
edu.uci.ics.jung.graph.Forest
-
Packages that use Forest Package Description edu.uci.ics.jung.algorithms.layout Algorithms for assigning 2D coordinates (typically used for graph visualizations) to vertices.edu.uci.ics.jung.algorithms.shortestpath Provides interfaces and classes for calculating (geodesic) distances and shortest paths.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.edu.uci.ics.jung.visualization.subLayout Visualization mechanisms relating to grouping or hiding specified element sets. -
-
Uses of Forest in edu.uci.ics.jung.algorithms.layout
Fields in edu.uci.ics.jung.algorithms.layout declared as Forest Modifier and Type Field Description protected Forest<V,E>
TreeLayout. graph
Constructors in edu.uci.ics.jung.algorithms.layout with parameters of type Forest Constructor Description BalloonLayout(Forest<V,E> g)
Creates an instance based on the input forest.RadialTreeLayout(Forest<V,E> g)
RadialTreeLayout(Forest<V,E> g, int distx)
RadialTreeLayout(Forest<V,E> g, int distx, int disty)
TreeLayout(Forest<V,E> g)
Creates an instance for the specified graph with default X and Y distances.TreeLayout(Forest<V,E> g, int distx)
Creates an instance for the specified graph and X distance with default Y distance.TreeLayout(Forest<V,E> g, int distx, int disty)
Creates an instance for the specified graph, X distance, and Y distance. -
Uses of Forest in edu.uci.ics.jung.algorithms.shortestpath
Fields in edu.uci.ics.jung.algorithms.shortestpath declared as Forest Modifier and Type Field Description protected Forest<V,E>
MinimumSpanningForest. forest
protected Forest<V,E>
MinimumSpanningForest2. forest
Methods in edu.uci.ics.jung.algorithms.shortestpath that return Forest Modifier and Type Method Description Forest<V,E>
MinimumSpanningForest. getForest()
Forest<V,E>
MinimumSpanningForest2. getForest()
Constructors in edu.uci.ics.jung.algorithms.shortestpath with parameters of type Forest Constructor Description MinimumSpanningForest(Graph<V,E> graph, Forest<V,E> forest, V root)
Creates a minimum spanning forest from the supplied graph, populating the supplied Forest, which must be empty.MinimumSpanningForest(Graph<V,E> graph, Forest<V,E> forest, V root, java.util.Map<E,java.lang.Double> weights)
Creates a minimum spanning forest from the supplied graph, populating the supplied Forest, which must be empty.MinimumSpanningForest2(Graph<V,E> graph, Forest<V,E> forest, com.google.common.base.Supplier<? extends Graph<V,E>> treeFactory, com.google.common.base.Function<? super E,java.lang.Double> weights)
Create a forest from the supplied graph, populating the supplied Forest, which must be empty.Constructor parameters in edu.uci.ics.jung.algorithms.shortestpath with type arguments of type Forest Constructor Description MinimumSpanningForest(Graph<V,E> graph, com.google.common.base.Supplier<Forest<V,E>> Supplier, V root, java.util.Map<E,java.lang.Double> weights)
Creates a Forest from the supplied Graph and supplied Supplier, which is used to create a new, empty Forest.MinimumSpanningForest2(Graph<V,E> graph, com.google.common.base.Supplier<Forest<V,E>> supplier, com.google.common.base.Supplier<? extends Graph<V,E>> treeFactory, com.google.common.base.Function<? super E,java.lang.Double> weights)
Create a Forest from the supplied Graph and supplied Supplier, which is used to create a new, empty Forest. -
Uses of Forest in edu.uci.ics.jung.graph
Subinterfaces of Forest in edu.uci.ics.jung.graph Modifier and Type Interface Description interface
Tree<V,E>
A subtype ofGraph
which is a (directed, rooted) tree.Classes in edu.uci.ics.jung.graph that implement Forest Modifier and Type Class Description class
DelegateForest<V,E>
An implementation ofForest
that delegates to a specifiedDirectedGraph
instance.class
DelegateTree<V,E>
An implementation ofTree
that delegates to a specified instance ofDirectedGraph
.class
OrderedKAryTree<V,E>
An implementation ofTree
in which each vertex has ≤ k children. -
Uses of Forest in edu.uci.ics.jung.graph.util
Methods in edu.uci.ics.jung.graph.util with parameters of type Forest Modifier and Type Method Description static <V,E>
voidTreeUtils. addFromSubTree(Forest<V,E> tree, Forest<V,E> subTree, E edge, V parent, V root)
static <V,E>
voidTreeUtils. addSubTree(Forest<V,E> tree, Forest<V,E> subTree, V node, E connectingEdge)
ConnectssubTree
totree
by attaching it as a child ofnode
with edgeconnectingEdge
.static <V,E>
java.util.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 oftree
which is rooted atroot
as aForest
.static <V,E>
voidTreeUtils. growSubTree(Forest<V,E> tree, Forest<V,E> subTree, V root)
Populatessubtree
with the subtree oftree
which is rooted atroot
.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 unmodifiableForest
backed by the passed forest. -
Uses of Forest in edu.uci.ics.jung.visualization.subLayout
Methods in edu.uci.ics.jung.visualization.subLayout with parameters of type Forest Modifier and Type Method Description void
TreeCollapser. collapse(Layout layout, Forest tree, java.lang.Object subRoot)
void
TreeCollapser. expand(Forest tree, Forest subTree)
-