Uses of Interface
com.jgalgo.alg.common.VertexPartition
Package
Description
Algorithms for solving graph coloring problems.
Package for common classes and interfaces used by the algorithms in the JGAlgo library.
Algorithms for solving connectivity problems, such as strongly/weakly connected components, minimum edge/vertex cuts,
ect.
Algorithms for finding paths in graphs, such as shortest paths, iterating over all simple paths between two vertices,
computing the Voronoi cells given a set of sites, ect.
-
Uses of VertexPartition in com.jgalgo.alg.color
Modifier and TypeMethodDescription<V,
E> VertexPartition <V, E> ColoringAlgo.computeColoring
(Graph<V, E> g) Assign a color to each vertex of the given graph, while minimizing the number of different colors.<V,
E> VertexPartition <V, E> ColoringAlgoAbstract.computeColoring
(Graph<V, E> g) -
Uses of VertexPartition in com.jgalgo.alg.common
Modifier and TypeInterfaceDescriptioninterface
A partition of the vertices of an int graph into two blocks.interface
A partition of the vertices of an int graph.interface
VertexBiPartition<V,
E> A partition of the vertices of a graph into two blocks.Modifier and TypeMethodDescriptionstatic <V,
E> VertexPartition <V, E> VertexPartition.fromMap
(Graph<V, E> g, Object2IntMap<V> map) Create a new vertex partition from a vertex-blockIndex map.static <V,
E> VertexPartition <V, E> VertexPartition.fromMapping
(Graph<V, E> g, ToIntFunction<V> mapping) Create a new vertex partition from a vertex-blockIndex mapping function.static <V,
E> VertexPartition <V, E> VertexPartition.partitionFromIndexPartition
(Graph<V, E> g, IVertexPartition indexPartition) Create a vertex partition view from a vertex partition of the index graph of the given graph. -
Uses of VertexPartition in com.jgalgo.alg.connect
Modifier and TypeMethodDescription<V,
E> VertexPartition <V, E> KEdgeConnectedComponentsAlgo.computeKEdgeConnectedComponents
(Graph<V, E> g, int k) Compute the k-edge connected components of a graph.<V,
E> VertexPartition <V, E> KEdgeConnectedComponentsAlgoAbstract.computeKEdgeConnectedComponents
(Graph<V, E> g, int k) <V,
E> VertexPartition <V, E> StronglyConnectedComponentsAlgo.findStronglyConnectedComponents
(Graph<V, E> g) Find all strongly connected components in a graph.<V,
E> VertexPartition <V, E> StronglyConnectedComponentsAlgoAbstract.findStronglyConnectedComponents
(Graph<V, E> g) <V,
E> VertexPartition <V, E> WeaklyConnectedComponentsAlgo.findWeaklyConnectedComponents
(Graph<V, E> g) Compute all weakly connected components in a graph.<V,
E> VertexPartition <V, E> WeaklyConnectedComponentsAlgoAbstract.findWeaklyConnectedComponents
(Graph<V, E> g) -
Uses of VertexPartition in com.jgalgo.alg.shortestpath
Modifier and TypeMethodDescriptionVoronoiAlgo.Result.partition()
Get the partition of the graph to blocks where each block contains the vertices which are closest to a single site.