V- the graph vertex type
E- the graph edge type
public class CompleteBipartiteGraphGenerator<V,E> extends Object implements GraphGenerator<V,E,V>
|Constructor and Description|
Creates a new CompleteBipartiteGraphGenerator object.
|Modifier and Type||Method and Description|
Construct a complete bipartite graph
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public CompleteBipartiteGraphGenerator(int partitionOne, int partitionTwo)
partitionOne- number of vertices in the first partition
partitionTwo- number of vertices in the second partition
target- receives the generated edges and vertices; if this is non-empty on entry, the result will be a disconnected graph since generated elements will not be connected to existing elements
resultMap- if non-null, receives implementation-specific mappings from String roles to graph elements (or collections of graph elements)
Copyright © 2019. All rights reserved.