public class SpatialBisectClustering extends java.lang.Object implements PointClustering
Constructor and Description |
---|
SpatialBisectClustering(int numClusters, NetworkExplorer ne, int userDataCategory, int xCoordUserDataIndex, int yCoordUserDataIndex, int geometryUserDataIndex) |
Modifier and Type | Method and Description |
---|---|
ClusterResult |
cluster(PointOnNet[] points) |
ClusteringConstraint |
getClusteringConstraint() |
void |
setClusteringConstraint(ClusteringConstraint constraint) |
public SpatialBisectClustering(int numClusters, NetworkExplorer ne, int userDataCategory, int xCoordUserDataIndex, int yCoordUserDataIndex, int geometryUserDataIndex)
public ClusterResult cluster(PointOnNet[] points) throws LODNetworkException
cluster
in interface PointClustering
LODNetworkException
public void setClusteringConstraint(ClusteringConstraint constraint)
setClusteringConstraint
in interface PointClustering
public ClusteringConstraint getClusteringConstraint()
getClusteringConstraint
in interface PointClustering