Package oracle.spatial.network.lod
Class SpatialKMeansClustering
- java.lang.Object
-
- oracle.spatial.network.lod.SpatialKMeansClustering
-
- All Implemented Interfaces:
PointClustering
public class SpatialKMeansClustering extends java.lang.Object implements PointClustering
- Since:
- release specific (what release of product did this appear in)
-
-
Constructor Summary
Constructors Constructor 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)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClusterResult
cluster(PointOnNet[] points)
ClusteringConstraint
getClusteringConstraint()
void
setClusteringConstraint(ClusteringConstraint constraint)
-
-
-
Constructor Detail
-
SpatialKMeansClustering
public SpatialKMeansClustering(int numClusters, NetworkExplorer ne, int userDataCategory, int xCoordUserDataIndex, int yCoordUserDataIndex, int geometryUserDataIndex)
-
SpatialKMeansClustering
public SpatialKMeansClustering(int numClusters, int maxSize, int minSize, NetworkExplorer ne, int userDataCategory, int xCoordUserDataIndex, int yCoordUserDataIndex, int geometryUserDataIndex)
-
-
Method Detail
-
cluster
public ClusterResult cluster(PointOnNet[] points) throws LODNetworkException
- Specified by:
cluster
in interfacePointClustering
- Throws:
LODNetworkException
-
setClusteringConstraint
public void setClusteringConstraint(ClusteringConstraint constraint)
- Specified by:
setClusteringConstraint
in interfacePointClustering
-
getClusteringConstraint
public ClusteringConstraint getClusteringConstraint()
- Specified by:
getClusteringConstraint
in interfacePointClustering
-
-