static final class HilOut.HilFeature extends Object implements Comparable<HilOut.HilFeature>
Modifier and Type | Field and Description |
---|---|
long[] |
hilbert
Hilbert representation
TODO: use byte[] to save some memory, but slower?
|
DBID |
id
Object ID
|
double |
lbound
Lower bound of object
|
int |
level
Object level
|
ObjectHeap<DoubleDBIDPair> |
nn
Heap with the nearest known neighbors
|
HashSetModifiableDBIDs |
nn_keys
Set representation of the nearest neighbors for faster lookups
|
double |
sum_nn
Current weight (sum of nn distances)
|
double |
ubound
Upper bound for object
|
Constructor and Description |
---|
HilFeature(DBID id,
ObjectHeap<DoubleDBIDPair> nn)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(HilOut.HilFeature o) |
protected void |
insert(DBID id,
double dt,
int k)
insert function inserts a nearest neighbor into a features nn list and
its distance
|
public DBID id
public long[] hilbert
public int level
public double ubound
public double lbound
public ObjectHeap<DoubleDBIDPair> nn
public HashSetModifiableDBIDs nn_keys
public double sum_nn
public HilFeature(DBID id, ObjectHeap<DoubleDBIDPair> nn)
id
- Object IDnn
- Heap for neighborspublic int compareTo(HilOut.HilFeature o)
compareTo
in interface Comparable<HilOut.HilFeature>
protected void insert(DBID id, double dt, int k)
id
- DBID of the nearest neighbordt
- distance or the neighbor to the features positionk
- KCopyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.