com.vividsolutions.jts.planargraph.algorithm

Class ConnectedSubgraphFinder


public class ConnectedSubgraphFinder
extends java.lang.Object

Finds all connected Subgraphs of a PlanarGraph.

Note: uses the isVisited flag on the nodes.

Constructor Summary

ConnectedSubgraphFinder(PlanarGraph graph)

Method Summary

List
getConnectedSubgraphs()

Constructor Details

ConnectedSubgraphFinder

public ConnectedSubgraphFinder(PlanarGraph graph)

Method Details

getConnectedSubgraphs

public List getConnectedSubgraphs()