Uses of Class
com.jgalgo.gen.UnionGraphGenerator
Package
Description
Graph generators used to generate (possibly random) graphs with different distributions and structures.
-
Uses of UnionGraphGenerator in com.jgalgo.gen
Modifier and TypeMethodDescriptionUnionGraphGenerator.copyWeights
(boolean verticesWeights, boolean edgesWeights) Determine if the vertices/edges weights will be copied from the input graphs to the generated graph(s).UnionGraphGenerator.edgesWeightsKeys
(Set<String> keys) Set the edges weights keys to be copied from the input graphs to the generated graph(s).UnionGraphGenerator.edgeUnionByEndpoints()
Set the union of edges to be by the edges endpoints.UnionGraphGenerator.edgeUnionById()
Set the union of edges to be by the edges identifiers.final UnionGraphGenerator
<V, E> Set the input graphs whose union graph will be generated (variable arguments version).UnionGraphGenerator.graphs
(Collection<? extends Graph<V, E>> graphs) Set the input graphs whose union graph will be generated.UnionGraphGenerator.verticesWeightsKeys
(Set<String> keys) Set the vertices weights keys to be copied from the input graphs to the generated graph(s).