public static final class TLcdClusteringTransformer.Builder.ClassificationSpecificBuilder extends Object
Modifier and Type | Method and Description |
---|---|
TLcdClusteringTransformer.Builder |
build()
Applies the specified settings and returns the original
Builder instance. |
TLcdClusteringTransformer.Builder.ClassificationSpecificBuilder |
clusterSize(double aClusterSize)
Sets the approximate cluster size in pixels.
|
TLcdClusteringTransformer.Builder.ClassificationSpecificBuilder |
minimumPoints(int aMinimumPoints)
Sets the minimum number of points required to form a cluster.
|
TLcdClusteringTransformer.Builder.ClassificationSpecificBuilder |
noClustering()
Indicates that no clustering should happen.
|
TLcdClusteringTransformer.Builder.ClassificationSpecificBuilder |
shapeProvider(ILcdClusterShapeProvider aProvider)
Sets an
ILcdClusterShapeProvider which determines the shape of the cluster based on its contained elements |
public TLcdClusteringTransformer.Builder.ClassificationSpecificBuilder clusterSize(double aClusterSize)
Sets the approximate cluster size in pixels. This size indicates the area of the cluster in screen space. For example, when passing 200 as value, the clustering algorithm will try to create clusters that are 200 pixels apart.
Note that the given size is an approximate size. The clustering algorithm may create smaller or larger clusters, depending on the data. The size of the cluster is influenced by:
aClusterSize
- the approximate cluster size in pixels.public TLcdClusteringTransformer.Builder.ClassificationSpecificBuilder minimumPoints(int aMinimumPoints)
Sets the minimum number of points required to form a cluster. For example when set to 3, there will never be a cluster which only represents 2 points. Each cluster will at least contain 3 points.
aMinimumPoints
- the minimum number of points required to form a clusterpublic TLcdClusteringTransformer.Builder.ClassificationSpecificBuilder noClustering()
Indicates that no clustering should happen.
public TLcdClusteringTransformer.Builder.ClassificationSpecificBuilder shapeProvider(ILcdClusterShapeProvider aProvider)
Sets an ILcdClusterShapeProvider
which determines the shape of the cluster based on its contained elements
aProvider
- The cluster shape providerpublic TLcdClusteringTransformer.Builder build()
Applies the specified settings and returns the original Builder
instance.
Builder
instance.