public class SpatialKMeansClustering extends java.lang.Object implements PointClustering
| Constructor and Description |
|---|
SpatialKMeansClustering(int numClusters, int maxSize, int minSize, NetworkExplorer ne, int userDataCategory, int xCoordUserDataIndex, int yCoordUserDataIndex, int geometryUserDataIndex) |
SpatialKMeansClustering(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 SpatialKMeansClustering(int numClusters,
NetworkExplorer ne,
int userDataCategory,
int xCoordUserDataIndex,
int yCoordUserDataIndex,
int geometryUserDataIndex)
public SpatialKMeansClustering(int numClusters,
int maxSize,
int minSize,
NetworkExplorer ne,
int userDataCategory,
int xCoordUserDataIndex,
int yCoordUserDataIndex,
int geometryUserDataIndex)
public ClusterResult cluster(PointOnNet[] points) throws LODNetworkException
cluster in interface PointClusteringLODNetworkExceptionpublic void setClusteringConstraint(ClusteringConstraint constraint)
setClusteringConstraint in interface PointClusteringpublic ClusteringConstraint getClusteringConstraint()
getClusteringConstraint in interface PointClustering