Package oracle.spatial.network.lod
Class SilhouetteClusterEvaluator
- java.lang.Object
-
- oracle.spatial.network.lod.SilhouetteClusterEvaluator
-
- All Implemented Interfaces:
ClusterEvaluator
public class SilhouetteClusterEvaluator extends java.lang.Object implements ClusterEvaluator
This implementation uses the Silhouette method to measure cluster quality. The returned score lies between -1 and 1. The closer the score to 1, the better the cluster quality. http://en.wikipedia.org/wiki/Silhouette_(clustering)- Since:
- release specific (what release of product did this appear in)
-
-
Constructor Summary
Constructors Constructor Description SilhouetteClusterEvaluator(NetworkExplorer ne, int userDataCategory, int xCoordUserDataIndex, int yCoordUserDataIndex, int geometryUserDataIndex)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
evaluate(PointOnNet[] points, ClusterResult clusterResult)
-
-
-
Constructor Detail
-
SilhouetteClusterEvaluator
public SilhouetteClusterEvaluator(NetworkExplorer ne, int userDataCategory, int xCoordUserDataIndex, int yCoordUserDataIndex, int geometryUserDataIndex)
-
-
Method Detail
-
evaluate
public double evaluate(PointOnNet[] points, ClusterResult clusterResult) throws LODNetworkException
- Specified by:
evaluate
in interfaceClusterEvaluator
- Throws:
LODNetworkException
-
-