private class SameSizeKMeansAlgorithm.Meta extends Object
Modifier and Type | Field and Description |
---|---|
(package private) double[] |
dists
Distance to the cluster centers.
|
(package private) int |
primary
Indexes: primary assignment (current or best), secondary assignment
(second best or worst).
|
(package private) int |
secondary
Indexes: primary assignment (current or best), secondary assignment
(second best or worst).
|
Modifier | Constructor and Description |
---|---|
protected |
Meta(int k)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected double |
gain(int i)
Gain from switching to cluster i.
|
protected double |
priority()
Priority / badness: difference between best and worst.
|
double[] dists
int primary
int secondary
Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.