public class SameSizeKMeansAlgorithm.PreferenceComparator
extends java.lang.Object
implements it.unimi.dsi.fastutil.ints.IntComparator
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) |
it.unimi.dsi.fastutil.ints.IntComparator |
select(SameSizeKMeansAlgorithm.Meta c)
Set the meta to sort by
|
SameSizeKMeansAlgorithm.Meta c
public int compare(int o1, int o2)
compare
in interface it.unimi.dsi.fastutil.ints.IntComparator
public it.unimi.dsi.fastutil.ints.IntComparator select(SameSizeKMeansAlgorithm.Meta c)
c
- Meta to sort byCopyright © 2019 ELKI Development Team. License information.