private class SameSizeKMeansAlgorithm.Meta
extends java.lang.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 © 2019 ELKI Development Team. License information.