Uses of Class
org.jgrapht.graph.builder.GraphTypeBuilder
Packages that use GraphTypeBuilder
-
Uses of GraphTypeBuilder in org.jgrapht.graph.builder
Methods in org.jgrapht.graph.builder that return GraphTypeBuilderModifier and TypeMethodDescriptionGraphTypeBuilder.allowingMultipleEdges
(boolean allowingMultipleEdges) Set whether the graph will allow multiple (parallel) edges between the same two vertices.GraphTypeBuilder.allowingSelfLoops
(boolean allowingSelfLoops) Set whether the graph will allow self loops (edges with same source and target vertices).static <V,
E> GraphTypeBuilder<V, E> GraphTypeBuilder.directed()
Create a graph type builder for a directed graph.<E1 extends E>
GraphTypeBuilder<V,E1> Set the edge class.<E1 extends E>
GraphTypeBuilder<V,E1> GraphTypeBuilder.edgeSupplier
(Supplier<E1> edgeSupplier) Set the edge supplier.static <V,
E> GraphTypeBuilder<V, E> Create a graph type builder which will create the same graph type as the parameter graph.static <V,
E> GraphTypeBuilder<V, E> GraphTypeBuilder.forGraphType
(GraphType type) Create a graph type builder which will create a graph with the same type as the one provided.static <V,
E> GraphTypeBuilder<V, E> GraphTypeBuilder.mixed()
Create a graph type builder for a mixed graph.static <V,
E> GraphTypeBuilder<V, E> GraphTypeBuilder.undirected()
Create a graph type builder for an undirected graph.<V1 extends V>
GraphTypeBuilder<V1,E> GraphTypeBuilder.vertexClass
(Class<V1> vertexClass) Set the vertex class.<V1 extends V>
GraphTypeBuilder<V1,E> GraphTypeBuilder.vertexSupplier
(Supplier<V1> vertexSupplier) Set the vertex supplier.GraphTypeBuilder.weighted
(boolean weighted) Set whether the graph will be weighted or not.