public class SameSizeKMeansAlgorithm.PreferenceComparator extends Object implements de.lmu.ifi.dbs.elki.utilities.datastructures.arrays.IntegerComparator
Modifier and Type | Field and Description |
---|---|
(package private) SameSizeKMeansAlgorithm.Meta |
c
Meta to use for comparison.
|
Constructor and Description |
---|
PreferenceComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(int o1,
int o2) |
de.lmu.ifi.dbs.elki.utilities.datastructures.arrays.IntegerComparator |
select(SameSizeKMeansAlgorithm.Meta c)
Set the meta to sort by
|
SameSizeKMeansAlgorithm.Meta c
public int compare(int o1, int o2)
compare
in interface de.lmu.ifi.dbs.elki.utilities.datastructures.arrays.IntegerComparator
public de.lmu.ifi.dbs.elki.utilities.datastructures.arrays.IntegerComparator select(SameSizeKMeansAlgorithm.Meta c)
c
- Meta to sort byCopyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.