Uses of Interface
com.jgalgo.graph.GraphFactory
Package
Description
Graph generators used to generate (possibly random) graphs with different distributions and structures.
Graphs object are the fundamental building blocks of the JGAlgo library.
-
Uses of GraphFactory in com.jgalgo.gen
Modifier and TypeMethodDescriptionBarabasiAlbertGraphGenerator.graphFactory()
Get the graph factory that will be used to create the generated graph(s).ComplementGraphGenerator.graphFactory()
Get the graph factory that will be used to create the generated graph(s).CompleteBipartiteGraphGenerator.graphFactory()
Get the graph factory that will be used to create the generated graph(s).CompleteGraphGenerator.graphFactory()
Get the graph factory that will be used to create the generated graph(s).DifferenceGraphGenerator.graphFactory()
Get the graph factory that will be used to create the generated graph(s).EmptyGraphGenerator.graphFactory()
Get the graph factory that will be used to create the generated graph(s).GnmBipartiteGraphGenerator.graphFactory()
Get the graph factory that will be used to create the generated graph(s).GnmGraphGenerator.graphFactory()
Get the graph factory that will be used to create the generated graph(s).GnpBipartiteGraphGenerator.graphFactory()
Get the graph factory that will be used to create the generated graph(s).GnpGraphGenerator.graphFactory()
Get the graph factory that will be used to create the generated graph(s).IntersectionGraphGenerator.graphFactory()
Get the graph factory that will be used to create the generated graph(s).LineGraphGenerator.graphFactory()
Get the graph factory that will be used to create the generated graph(s).RecursiveMatrixGraphGenerator.graphFactory()
Get the graph factory that will be used to create the generated graph(s).SymmetricDifferenceGraphGenerator.graphFactory()
Get the graph factory that will be used to create the generated graph(s).UniformTreeGenerator.graphFactory()
Get the graph factory that will be used to create the generated graph(s).UnionGraphGenerator.graphFactory()
Get the graph factory that will be used to create the generated graph(s).ModifierConstructorDescriptionBarabasiAlbertGraphGenerator
(GraphFactory<V, E> factory) Create a new Barabasi-Albert graph generator that will use the given graph factory.ComplementGraphGenerator
(GraphFactory<V, E> factory) Create a new complement graph generator that will use the given graph factory.CompleteBipartiteGraphGenerator
(GraphFactory<V, E> factory) Create a new complete bipartite graph generator that will use the given graph factory.CompleteGraphGenerator
(GraphFactory<V, E> factory) Create a new complete graph generator that will use the given graph factory.DifferenceGraphGenerator
(GraphFactory<V, E> factory) Create a new difference graph generator that will use the given graph factory.EmptyGraphGenerator
(GraphFactory<V, E> factory) Create a new empty generator that will use the given graph factory.GnmBipartiteGraphGenerator
(GraphFactory<V, E> factory) Create a new \(G(n_1,n_2,m)\) generator that will use the given graph factory.GnmGraphGenerator
(GraphFactory<V, E> factory) Create a new \(G(n,m)\) generator that will use the given graph factory.GnpBipartiteGraphGenerator
(GraphFactory<V, E> factory) Create a new \(G(n_1,n_2,p)\) graph generator that will use the given graph factory.GnpGraphGenerator
(GraphFactory<V, E> factory) Create a new \(G(n,p)\) graph generator that will use the given graph factory.IntersectionGraphGenerator
(GraphFactory<V, E> factory) Create a new intersection graph generator that will use the given graph factory.LineGraphGenerator
(GraphFactory<V, E> factory) Create a new line graph generator that will use the given graph factory.RecursiveMatrixGraphGenerator
(GraphFactory<V, E> factory) Create a new R-MAT generator that will use the given graph factory.SymmetricDifferenceGraphGenerator
(GraphFactory<V, E> factory) Create a new symmetric difference graph generator that will use the given graph factory.UniformTreeGenerator
(GraphFactory<V, E> factory) Create a new uniform tree generator that will use the given graph factory.UnionGraphGenerator
(GraphFactory<V, E> factory) Create a new union graph generator that will use the given graph factory. -
Uses of GraphFactory in com.jgalgo.graph
Modifier and TypeInterfaceDescriptioninterface
A factory for Index graphs.interface
A factory forIntGraph
objects.Modifier and TypeMethodDescriptionGraphFactory.addHint
(GraphFactory.Hint hint) Add a hint to this factory.default GraphFactory
<V, E> GraphFactory.allowParallelEdges()
Change the config of this factory so that the built graphs will support parallel edges.GraphFactory.allowParallelEdges
(boolean parallelEdges) Determine if graphs built by this factory should be support parallel edges.default GraphFactory
<V, E> GraphFactory.allowSelfEdges()
Change the config of this factory so that the built graphs will support self edges.GraphFactory.allowSelfEdges
(boolean selfEdges) Determine if graphs built by this factory should be support self edges.static <V,
E> GraphFactory <V, E> GraphFactory.directed()
Create a directed graph factory.GraphFactory.expectedEdgesNum
(int expectedEdgesNum) Set the expected number of edges that will exist in the graph.GraphFactory.expectedVerticesNum
(int expectedVerticesNum) Set the expected number of vertices that will exist in the graph.static <V,
E> GraphFactory <V, E> GraphFactory.newInstance
(boolean directed) Create a new un/directed graph factory.GraphFactory.removeHint
(GraphFactory.Hint hint) Remove a hint from this factory.GraphFactory.setDirected
(boolean directed) Determine if graphs built by this factory should be directed.default GraphFactory
<V, E> GraphFactory.setEdgeBuilder
(IdBuilder<E> edgeBuilder) Set the edge builder used by the built graph(s).GraphFactory.setEdgeFactory
(Supplier<? extends IdBuilder<E>> edgeFactory) Set the edge factory which create builders for the edges of the built graph(s).default GraphFactory
<V, E> [TL;DR Don't call me!] Set an option.default GraphFactory
<V, E> GraphFactory.setVertexBuilder
(IdBuilder<V> vertexBuilder) Set the vertex builder used by the built graph(s).GraphFactory.setVertexFactory
(Supplier<? extends IdBuilder<V>> vertexFactory) Set the vertex factory which create builders for the vertices of the built graph(s).static <V,
E> GraphFactory <V, E> GraphFactory.undirected()
Create an undirected graph factory.