Package org.graph4j.clique
Class BoundedCliqueIterator
java.lang.Object
org.graph4j.SimpleGraphAlgorithm
org.graph4j.clique.BoundedCliqueIterator
- All Implemented Interfaces:
CliqueIterator
@Deprecated
public class BoundedCliqueIterator
extends SimpleGraphAlgorithm
implements CliqueIterator
Deprecated.
Uses BronKerboschCliqueIterator in order to iterate through the cliques of
specified sizes. Slower than
DFSCliqueIterator.- Author:
- Cristian Frăsinaru
-
Field Summary
Fields inherited from class org.graph4j.SimpleGraphAlgorithm
graph -
Constructor Summary
ConstructorsConstructorDescriptionBoundedCliqueIterator(Graph graph, int minSize, int maxSize) Deprecated.BoundedCliqueIterator(Graph graph, int minSize, int maxSize, long timeout) Deprecated. -
Method Summary
Methods inherited from class org.graph4j.SimpleGraphAlgorithm
getGraphMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.graph4j.clique.CliqueIterator
getAll
-
Constructor Details
-
BoundedCliqueIterator
Deprecated.- Parameters:
graph- the input graph.minSize- the minimum size of a clique.maxSize- the maximum size of a clique.
-
BoundedCliqueIterator
Deprecated.- Parameters:
graph- the input graph.minSize- the minimum size of a clique.maxSize- the maximum size of a clique.timeout- timeout in milliseconds.
-
-
Method Details
-
next
Deprecated.- Specified by:
nextin interfaceCliqueIterator- Returns:
- the next element in the iteration.
-
hasNext
public boolean hasNext()Deprecated.- Specified by:
hasNextin interfaceCliqueIterator- Returns:
trueif the iteration has more elements.
-