Modifier and Type | Method and Description |
---|---|
private void |
EvaluateRetrievalPerformance.computeDistances(ModifiableDoubleDBIDList nlist,
DBIDIter query,
DistanceQuery<O> distQuery,
Relation<O> relation)
Compute the distances to the neighbor objects.
|
void |
EvaluateRetrievalPerformance.KNNEvaluator.evaluateKNN(double[] knnperf,
ModifiableDoubleDBIDList nlist,
Relation<?> lrelation,
TObjectIntHashMap<Object> counters,
Object label)
Evaluate by simulating kNN classification for k=1...maxk
|
Modifier and Type | Method and Description |
---|---|
static ModifiableDoubleDBIDList |
DBIDUtil.newDistanceDBIDList()
Create a modifiable list to store distance-DBID pairs.
|
ModifiableDoubleDBIDList |
DBIDFactory.newDistanceDBIDList()
Create a modifiable list to store distance-DBID pairs.
|
static ModifiableDoubleDBIDList |
DBIDUtil.newDistanceDBIDList(int size)
Create a modifiable list to store distance-DBID pairs.
|
ModifiableDoubleDBIDList |
DBIDFactory.newDistanceDBIDList(int size)
Create a modifiable list to store distance-DBID pairs.
|
Modifier and Type | Class and Description |
---|---|
class |
DoubleIntegerDBIDKNNList
kNN list, but without automatic sorting.
|
(package private) class |
DoubleIntegerDBIDList
Class to store double distance, integer DBID results.
|
(package private) class |
DoubleIntegerDBIDListKNNHeap
Track the k nearest neighbors, with insertion sort to ensure the correct
order.
|
(package private) class |
DoubleIntegerDBIDPairList
Class to store double distance, integer DBID results.
|
Modifier and Type | Method and Description |
---|---|
ModifiableDoubleDBIDList |
AbstractIntegerDBIDFactory.newDistanceDBIDList() |
ModifiableDoubleDBIDList |
AbstractIntegerDBIDFactory.newDistanceDBIDList(int size) |
Modifier and Type | Method and Description |
---|---|
void |
RangeQuery.getRangeForDBID(DBIDRef id,
double range,
ModifiableDoubleDBIDList result)
Get the neighbors for a particular object in a given query range
|
void |
LinearScanPrimitiveDistanceRangeQuery.getRangeForDBID(DBIDRef id,
double range,
ModifiableDoubleDBIDList neighbors) |
void |
LinearScanEuclideanDistanceRangeQuery.getRangeForDBID(DBIDRef id,
double range,
ModifiableDoubleDBIDList neighbors) |
void |
LinearScanDistanceRangeQuery.getRangeForDBID(DBIDRef id,
double range,
ModifiableDoubleDBIDList neighbors) |
void |
AbstractDistanceRangeQuery.getRangeForDBID(DBIDRef id,
double range,
ModifiableDoubleDBIDList neighbors) |
void |
RangeQuery.getRangeForObject(O obj,
double range,
ModifiableDoubleDBIDList result)
Get the neighbors for a particular object in a given query range
|
void |
LinearScanPrimitiveDistanceRangeQuery.getRangeForObject(O obj,
double range,
ModifiableDoubleDBIDList neighbors) |
void |
LinearScanEuclideanDistanceRangeQuery.getRangeForObject(O obj,
double range,
ModifiableDoubleDBIDList neighbors) |
void |
LinearScanDistanceRangeQuery.getRangeForObject(O obj,
double range,
ModifiableDoubleDBIDList neighbors) |
private void |
LinearScanPrimitiveDistanceRangeQuery.linearScan(Relation<? extends O> relation,
DBIDIter iter,
O obj,
double range,
ModifiableDoubleDBIDList result)
Main loop for linear scan,
|
private void |
LinearScanEuclideanDistanceRangeQuery.linearScan(Relation<? extends O> relation,
DBIDIter iter,
O obj,
double range,
ModifiableDoubleDBIDList result)
Main loop for linear scan,
|
Modifier and Type | Field and Description |
---|---|
private ModifiableDoubleDBIDList[] |
InMemoryIDistanceIndex.index
The actual index.
|
Modifier and Type | Method and Description |
---|---|
protected static void |
InMemoryIDistanceIndex.binarySearch(ModifiableDoubleDBIDList index,
DoubleDBIDListIter iter,
double val)
Seek an iterator to the desired position, using binary search.
|
void |
InMemoryIDistanceIndex.IDistanceRangeQuery.getRangeForObject(O obj,
double range,
ModifiableDoubleDBIDList result) |
Modifier and Type | Field and Description |
---|---|
(package private) ArrayList<ModifiableDoubleDBIDList> |
InMemoryInvertedIndex.index
Inverted index.
|
Modifier and Type | Method and Description |
---|---|
private ModifiableDoubleDBIDList |
InMemoryInvertedIndex.getOrCreateColumn(int dim)
Get (or create) a column.
|
Modifier and Type | Method and Description |
---|---|
void |
InMemoryInvertedIndex.CosineRangeQuery.getRangeForObject(V obj,
double range,
ModifiableDoubleDBIDList result) |
void |
InMemoryInvertedIndex.ArcCosineRangeQuery.getRangeForObject(V obj,
double range,
ModifiableDoubleDBIDList result) |
Modifier and Type | Method and Description |
---|---|
void |
InMemoryLSHIndex.Instance.LSHRangeQuery.getRangeForObject(V obj,
double range,
ModifiableDoubleDBIDList result) |
Modifier and Type | Field and Description |
---|---|
(package private) List<ModifiableDoubleDBIDList> |
NaiveProjectedKNNPreprocessor.projected
Projected data.
|
Modifier and Type | Method and Description |
---|---|
void |
ProjectedIndex.ProjectedRangeQuery.getRangeForObject(O obj,
double range,
ModifiableDoubleDBIDList result) |
Modifier and Type | Field and Description |
---|---|
(package private) ModifiableDoubleDBIDList |
CoverTree.Node.singletons
Objects in this node.
|
Modifier and Type | Method and Description |
---|---|
protected CoverTree.Node |
CoverTree.bulkConstruct(DBIDRef cur,
int maxScale,
double parentDist,
ModifiableDoubleDBIDList elems)
Bulk-load the cover tree.
|
protected SimplifiedCoverTree.Node |
SimplifiedCoverTree.bulkConstruct(DBIDRef cur,
int maxScale,
ModifiableDoubleDBIDList elems)
Bulk-load the cover tree.
|
protected void |
AbstractCoverTree.collectByCover(DBIDRef cur,
ModifiableDoubleDBIDList candidates,
double fmax,
ModifiableDoubleDBIDList collect)
Collect all elements with respect to a new routing object.
|
protected void |
AbstractCoverTree.excludeNotCovered(ModifiableDoubleDBIDList candidates,
double fmax,
ModifiableDoubleDBIDList collect)
Retain all elements within the current cover.
|
void |
SimplifiedCoverTree.CoverTreeRangeQuery.getRangeForObject(O obj,
double range,
ModifiableDoubleDBIDList ret) |
void |
CoverTree.CoverTreeRangeQuery.getRangeForObject(O obj,
double range,
ModifiableDoubleDBIDList ret) |
Modifier and Type | Method and Description |
---|---|
private void |
MkCoPTree.doReverseKNNQuery(int k,
DBIDRef q,
ModifiableDoubleDBIDList result,
ModifiableDBIDs candidates)
Performs a reverse knn query.
|
Modifier and Type | Method and Description |
---|---|
private void |
MkMaxTree.doReverseKNNQuery(DBIDRef q,
MkMaxTreeNode<O> node,
MkMaxEntry node_entry,
ModifiableDoubleDBIDList result)
Performs a reverse k-nearest neighbor query in the specified subtree for
the given query object with k =
AbstractMkTreeUnified.getKmax() . |
Modifier and Type | Method and Description |
---|---|
private void |
MkTabTree.doReverseKNNQuery(int k,
DBIDRef q,
MkTabEntry node_entry,
MkTabTreeNode<O> node,
ModifiableDoubleDBIDList result)
Performs a k-nearest neighbor query in the specified subtree for the given
query object and the given parameter k.
|
Modifier and Type | Method and Description |
---|---|
private void |
MetricalIndexRangeQuery.doRangeQuery(DBID o_p,
AbstractMTreeNode<O,?,?> node,
O q,
double r_q,
ModifiableDoubleDBIDList result)
Performs a range query on the specified subtree.
|
void |
MetricalIndexRangeQuery.getRangeForObject(O obj,
double range,
ModifiableDoubleDBIDList result) |
Modifier and Type | Field and Description |
---|---|
(package private) ModifiableDoubleDBIDList |
SmallMemoryKDTree.sorted
The actual "tree" as a sorted array.
|
Modifier and Type | Method and Description |
---|---|
void |
SmallMemoryKDTree.KDTreeRangeQuery.getRangeForObject(O obj,
double range,
ModifiableDoubleDBIDList result) |
void |
MinimalisticMemoryKDTree.KDTreeRangeQuery.getRangeForObject(O obj,
double range,
ModifiableDoubleDBIDList result) |
private void |
MinimalisticMemoryKDTree.KDTreeRangeQuery.kdRangeSearch(int left,
int right,
int axis,
O query,
ModifiableDoubleDBIDList res,
DBIDArrayIter iter,
double radius)
Perform a kNN search on the kd-tree.
|
private void |
SmallMemoryKDTree.KDTreeRangeQuery.kdRangeSearch(int left,
int right,
int axis,
O query,
ModifiableDoubleDBIDList res,
DoubleDBIDListIter iter,
double radius)
Perform a kNN search on the kd-tree.
|
Modifier and Type | Method and Description |
---|---|
void |
RStarTreeRangeQuery.getRangeForDBID(DBIDRef id,
double range,
ModifiableDoubleDBIDList result) |
void |
RStarTreeRangeQuery.getRangeForObject(O obj,
double range,
ModifiableDoubleDBIDList result) |
void |
EuclideanRStarTreeRangeQuery.getRangeForObject(O object,
double range,
ModifiableDoubleDBIDList result) |
Modifier and Type | Method and Description |
---|---|
List<ModifiableDoubleDBIDList> |
RdKNNTree.bulkReverseKNNQueryForID(DBIDs ids,
int k,
SpatialPrimitiveDistanceFunction<? super O> distanceFunction,
KNNQuery<O> knnQuery) |
Modifier and Type | Method and Description |
---|---|
private void |
RdKNNTree.doReverseKNN(RdKNNNode node,
DBID oid,
ModifiableDoubleDBIDList result)
Performs a reverse knn query in the specified subtree.
|
Modifier and Type | Method and Description |
---|---|
private void |
RdKNNTree.doBulkReverseKNN(RdKNNNode node,
DBIDs ids,
Map<DBID,ModifiableDoubleDBIDList> result)
Performs a bulk reverse knn query in the specified subtree.
|
Modifier and Type | Method and Description |
---|---|
void |
VAFile.VAFileRangeQuery.getRangeForObject(V query,
double eps,
ModifiableDoubleDBIDList result) |
void |
PartialVAFile.PartialVAFileRangeQuery.getRangeForObject(V query,
double range,
ModifiableDoubleDBIDList result) |
Modifier and Type | Method and Description |
---|---|
private static void |
QuickSelect.insertionSort(ModifiableDoubleDBIDList data,
int start,
int end,
DoubleDBIDListIter iter1,
DoubleDBIDListIter iter2)
Sort a small array using repetitive insertion sort.
|
static int |
QuickSelect.median(ModifiableDoubleDBIDList data)
Compute the median of an array efficiently using the QuickSelect method.
|
static int |
QuickSelect.median(ModifiableDoubleDBIDList data,
int begin,
int end)
Compute the median of an array efficiently using the QuickSelect method.
|
static int |
QuickSelect.quantile(ModifiableDoubleDBIDList data,
double quant)
Compute the median of an array efficiently using the QuickSelect method.
|
static int |
QuickSelect.quantile(ModifiableDoubleDBIDList data,
int begin,
int end,
double quant)
Compute the median of an array efficiently using the QuickSelect method.
|
static void |
QuickSelect.quickSelect(ModifiableDoubleDBIDList data,
int rank)
QuickSelect is essentially quicksort, except that we only "sort" that half
of the array that we are interested in.
|
static void |
QuickSelect.quickSelect(ModifiableDoubleDBIDList data,
int start,
int end,
int rank)
QuickSelect is essentially quicksort, except that we only "sort" that half
of the array that we are interested in.
|
Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.