V
- The vertex type of graphs to merge.E
- The edge type of graphs to merge.public class MergePool<V,E> extends Object
public static <V,E> MergePool<V,E> create()
V
- The node label type.E
- The edge label type.public DAGNode<V,E> merge(DAGNode<V,E> graph)
Noteo: edge labels are ignored for the purpose of merging.
graph
- The graph to simplify.Copyright © 2014 GroupLens Research. All Rights Reserved.