Uses of Class
org.graph4j.util.VertexCollection
Packages that use VertexCollection
Package
Description
The main interfaces and classes for representing and using graphs.
Utility classes, such as apecialized collection for vertices and edges.
-
Uses of VertexCollection in org.graph4j
Method parameters in org.graph4j with type arguments of type VertexCollectionModifier and TypeMethodDescriptionstatic booleanGraphUtils.isPartitionValid(Graph graph, List<? extends VertexCollection> subsets) Checks if a vertex partition is valid, meaning the subsets are disjoint and cover all vertices in the graph. -
Uses of VertexCollection in org.graph4j.util
Classes in org.graph4j.util with type parameters of type VertexCollectionSubclasses of VertexCollection in org.graph4j.utilModifier and TypeClassDescriptionclassA block of a graph is a maximal 2-connected subgraph (it has no cut vertex).classA circuit is a trail whose last vertex is connected to the first one.classA clique is a set of vertices of a graph such that any two of them are adjacent.classA cycle is a closed path, meaning that the last vertex of the path is connected to the first one.classA path is a trail with no duplicate vertices.classA stable set is a set of vertices of a graph, no two of which are adjacent.classA trail is a walk with no repeated edge.classA list of vertices of a graph.classA queue of vertices of a graph.classA set of vertices of a graph.classA stack of vertices in a graph.classA walk is a sequence of graph vertices such that any two consecutive vertices form an edge of the graph.Methods in org.graph4j.util with parameters of type VertexCollectionModifier and TypeMethodDescriptionprotected static voidVertexCollection.union(VertexCollection set, int[] other, VertexCollection result)