Package org.graph4j.util
Class Block
java.lang.Object
org.graph4j.util.VertexCollection
org.graph4j.util.VertexSet
org.graph4j.util.Block
A block of a graph is a maximal 2-connected subgraph (it has no cut
vertex).
- Author:
- Cristian Frăsinaru
-
Field Summary
Fields inherited from class org.graph4j.util.VertexCollection
bitset, DEFAULT_CAPACITY, first, graph, numVertices, vertices -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.graph4j.util.VertexSet
add, addAll, addDirectly, clear, contains, equals, hashCode, indexOf, intersection, intersection, peek, pop, remove, removeFromPos, union, unionMethods inherited from class org.graph4j.util.VertexCollection
computeVerticesWeight, getGraph, grow, indexOf, isClique, isEmpty, isStableSet, iterator, numVertices, removeAll, removeLast, retainAll, size, toString, union, vertexToString, verticesMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
Block
-
Block
-
Block
-
-
Method Details
-
isValid
public boolean isValid()- Returns:
trueif the vertices represent a block.
-