
R - the result we returnV - the type of FeatureVector handled by this Algorithmpublic abstract class AbstractProjectedClustering<R extends Clustering<?>,V extends NumberVector<?>> extends AbstractAlgorithm<R> implements ClusteringAlgorithm<R>
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractProjectedClustering.Parameterizer
Parameterization class.
|
| Modifier and Type | Field and Description |
|---|---|
private DistanceFunction<? super V,DoubleDistance> |
distanceFunction
The euclidean distance function.
|
protected int |
k
Holds the value of
AbstractProjectedClustering.Parameterizer.K_ID. |
protected int |
k_i
Holds the value of
AbstractProjectedClustering.Parameterizer.K_I_ID. |
protected int |
l
Holds the value of
AbstractProjectedClustering.Parameterizer.L_ID. |
| Constructor and Description |
|---|
AbstractProjectedClustering(int k,
int k_i,
int l)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected DistanceFunction<? super V,DoubleDistance> |
getDistanceFunction()
Returns the distance function.
|
protected DistanceQuery<V,DoubleDistance> |
getDistanceQuery(Database database)
Returns the distance function.
|
getInputTypeRestriction, getLogger, makeParameterDistanceFunction, runclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitrungetInputTypeRestrictionprotected int k
AbstractProjectedClustering.Parameterizer.K_ID.protected int k_i
AbstractProjectedClustering.Parameterizer.K_I_ID.protected int l
AbstractProjectedClustering.Parameterizer.L_ID.private DistanceFunction<? super V extends NumberVector<?>,DoubleDistance> distanceFunction
public AbstractProjectedClustering(int k,
int k_i,
int l)
k - K parameterk_i - K_i parameterl - L parameterprotected DistanceFunction<? super V,DoubleDistance> getDistanceFunction()
protected DistanceQuery<V,DoubleDistance> getDistanceQuery(Database database)