|
Carrot2 v3.5.2
API Documentation |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.carrot2.util.GraphUtils
public class GraphUtils
Various utilities for processing graphs.
| Nested Class Summary | |
|---|---|
static interface |
GraphUtils.IArcPredicate
A predicate defining arcs of an undirected graph. |
| Constructor Summary | |
|---|---|
GraphUtils()
|
|
| Method Summary | |
|---|---|
static List<com.carrotsearch.hppc.IntArrayList> |
findCoherentSubgraphs(int vertexCount,
GraphUtils.IArcPredicate arcPredicate,
boolean pruneOneNodeSubrgaphs)
Finds coherent subgraphs of an undirected graph. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GraphUtils()
| Method Detail |
|---|
public static List<com.carrotsearch.hppc.IntArrayList> findCoherentSubgraphs(int vertexCount,
GraphUtils.IArcPredicate arcPredicate,
boolean pruneOneNodeSubrgaphs)
vertexCount - the number of vertices in the grapharcPredicate - a predicate that determines which vertices are connected by an
arcpruneOneNodeSubrgaphs - if true, one-node subgraphs will not be
included in the result
IntArrayLists containing vertices of the coherent subgraphs
|
Please refer to project documentation at
http://project.carrot2.org |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||