private static class IntegerRankTieNormalization.Sorter extends Object implements IntegerComparator
Modifier and Type | Field and Description |
---|---|
(package private) List<? extends NumberVector> |
col
Column to use for sorting.
|
(package private) int |
dim
Dimension to use for sorting.
|
Modifier | Constructor and Description |
---|---|
private |
Sorter() |
Modifier and Type | Method and Description |
---|---|
int |
compare(int x,
int y)
Compare two Integer.
|
void |
setup(List<? extends NumberVector> col,
int dim)
Configure the sorting class.
|
List<? extends NumberVector> col
int dim
public void setup(List<? extends NumberVector> col, int dim)
col
- Column to readdim
- Dimension to use.public int compare(int x, int y)
IntegerComparator
compare
in interface IntegerComparator
x
- First inty
- Second intCopyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.