| Package | Description |
|---|---|
| edu.uci.ics.jung.algorithms.transformation |
Mechanisms for graph transformation.
|
| Modifier and Type | Method and Description |
|---|---|
static <V,E> Graph<V,Collection<V>> |
FoldingTransformer.foldKPartiteGraph(KPartiteGraph<V,E> g,
com.google.common.base.Predicate<V> p,
com.google.common.base.Supplier<Graph<V,Collection<V>>> graph_factory)
Converts
g into a unipartite graph whose vertices are the
vertices of g's partition p, and whose edges
consist of collections of the intermediate vertices from other partitions. |
static <V,E> Graph<V,E> |
FoldingTransformer.foldKPartiteGraph(KPartiteGraph<V,E> g,
com.google.common.base.Predicate<V> p,
com.google.common.base.Supplier<Graph<V,E>> graph_factory,
com.google.common.base.Supplier<E> edge_factory)
Converts
g into a unipartite graph whose vertex set is the
vertices of g's partition p. |
Copyright © 2016. All rights reserved.