public class ComponentFinder<V>
extends java.lang.Object
Constructor and Description |
---|
ComponentFinder()
Creates a new instance of ComponentFinder
|
Modifier and Type | Method and Description |
---|---|
java.util.List<V> |
getComponent(int index) |
int |
getComponentCount() |
java.util.List<java.util.List<V>> |
getComponents() |
java.util.List<V> |
getLargestComponent() |
static void |
main(java.lang.String[] args) |
void |
setGraph(Graph<V> graph) |
public ComponentFinder()
public java.util.List<V> getComponent(int index)
public java.util.List<java.util.List<V>> getComponents()
public java.util.List<V> getLargestComponent()
public int getComponentCount()
public static void main(java.lang.String[] args)