public class MergeVertices<GraphType extends Graph<EdgeType,VertexType>,EdgeType extends GraphEdge<EdgeType,VertexType>,VertexType extends GraphVertex<VertexType>>
extends java.lang.Object
Constructor and Description |
---|
MergeVertices()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
mergeVertices(java.util.Set<VertexType> vertexSet,
GraphType g,
VertexCombinator<VertexType> combinator,
GraphToolkit<GraphType,EdgeType,VertexType> toolkit)
Merge the specified set of vertices into a single vertex.
|
public void mergeVertices(java.util.Set<VertexType> vertexSet, GraphType g, VertexCombinator<VertexType> combinator, GraphToolkit<GraphType,EdgeType,VertexType> toolkit)
vertexSet
- the set of vertices to be mergedg
- the graph to be modifiedcombinator
- object used to combine verticestoolkit
- GraphToolkit used to copy auxiliary information for edgesFindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.