NNTYPE - public class NeighborIndex<NNTYPE> extends Object
| Constructor and Description |
|---|
NeighborIndex(NeighborListFactory<NNTYPE> listFactory) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(DistanceProfile<?> distanceProfile,
org.locationtech.geowave.core.index.ByteArray centerId,
NNTYPE centerValue,
org.locationtech.geowave.core.index.ByteArray neighborId,
NNTYPE neighborValue,
boolean addReciprical) |
void |
empty(org.locationtech.geowave.core.index.ByteArray id) |
NeighborList<NNTYPE> |
init(org.locationtech.geowave.core.index.ByteArray id,
NNTYPE value)
Invoked when the provided node is being inspected to find neighbors.
|
public NeighborIndex(NeighborListFactory<NNTYPE> listFactory)
public NeighborList<NNTYPE> init(org.locationtech.geowave.core.index.ByteArray id, NNTYPE value)
This method is designed for neighbor lists do some optimizations just prior to the neighbor discovery process.
public void add(DistanceProfile<?> distanceProfile, org.locationtech.geowave.core.index.ByteArray centerId, NNTYPE centerValue, org.locationtech.geowave.core.index.ByteArray neighborId, NNTYPE neighborValue, boolean addReciprical)
public void empty(org.locationtech.geowave.core.index.ByteArray id)
Copyright © 2013–2022. All rights reserved.