Modifier and Type | Method and Description |
---|---|
protected int |
GriDBSCAN.Instance.expandCluster(DBIDRef seed,
int clusterid,
WritableIntegerDataStore clusterids,
ModifiableDoubleDBIDList neighbors,
ArrayModifiableDBIDs activeSet,
RangeQuery<V> rq,
FiniteProgress pprog)
Set-based expand cluster implementation.
|
Modifier and Type | Field and Description |
---|---|
(package private) java.util.List<ModifiableDoubleDBIDList> |
KMeansMinusMinus.Instance.clusters
Cluster storage.
|
Modifier and Type | Method and Description |
---|---|
protected static void |
ISOS.adjustDistances(DBIDRef ignore,
DoubleDBIDListIter ki,
double max,
double id,
ModifiableDoubleDBIDList dists) |
Modifier and Type | Method and Description |
---|---|
private DoubleDBIDList |
OUTRES.initialRange(DBIDRef obj,
DBIDs cands,
PrimitiveDistanceFunction<? super NumberVector> df,
double eps,
OUTRES.KernelDensityEstimator kernel,
ModifiableDoubleDBIDList n)
Initial range query.
|
private DoubleDBIDList |
OUTRES.subsetNeighborhoodQuery(DoubleDBIDList neighc,
DBIDRef dbid,
PrimitiveDistanceFunction<? super NumberVector> df,
double adjustedEps,
OUTRES.KernelDensityEstimator kernel,
ModifiableDoubleDBIDList n)
Refine neighbors within a subset.
|
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,
it.unimi.dsi.fastutil.objects.Object2IntOpenHashMap<java.lang.Object> counters,
java.lang.Object label)
Evaluate by simulating kNN classification for k=1...maxk
|
Modifier and Type | Method and Description |
---|---|
ModifiableDoubleDBIDList |
DBIDFactory.newDistanceDBIDList()
Create a modifiable list to store distance-DBID pairs.
|
static ModifiableDoubleDBIDList |
DBIDUtil.newDistanceDBIDList()
Create a modifiable list to store distance-DBID pairs.
|
ModifiableDoubleDBIDList |
DBIDFactory.newDistanceDBIDList(int size)
Create a modifiable list to store distance-DBID pairs.
|
static ModifiableDoubleDBIDList |
DBIDUtil.newDistanceDBIDList(int size)
Create a modifiable list to store distance-DBID pairs.
|
Modifier and Type | Method and Description |
---|---|
private static void |
QuickSelectDBIDs.insertionSort(ModifiableDoubleDBIDList data,
int start,
int end,
DoubleDBIDListIter iter1,
DoubleDBIDListIter iter2)
Sort a small array using repetitive insertion sort.
|
static int |
QuickSelectDBIDs.median(ModifiableDoubleDBIDList data)
Compute the median of an array efficiently using the QuickSelect method.
|
static int |
QuickSelectDBIDs.median(ModifiableDoubleDBIDList data,
int begin,
int end)
Compute the median of an array efficiently using the QuickSelect method.
|
static int |
QuickSelectDBIDs.quantile(ModifiableDoubleDBIDList data,
double quant)
Compute the median of an array efficiently using the QuickSelect method.
|
static int |
QuickSelectDBIDs.quantile(ModifiableDoubleDBIDList data,
int begin,
int end,
double quant)
Compute the median of an array efficiently using the QuickSelect method.
|
static void |
QuickSelectDBIDs.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 |
QuickSelectDBIDs.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.
|
Modifier and Type | Class and Description |
---|---|
(package private) class |
DoubleIntegerDBIDArrayList
Class to store double distance, integer DBID results.
|
(package private) class |
DoubleIntegerDBIDKNNList
kNN list, but without automatic sorting.
|
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 |
LinearScanDistanceRangeQuery.getRangeForDBID(DBIDRef id,
double range,
ModifiableDoubleDBIDList neighbors) |
void |
LinearScanEuclideanDistanceRangeQuery.getRangeForDBID(DBIDRef id,
double range,
ModifiableDoubleDBIDList neighbors) |
void |
AbstractSimilarityRangeQuery.getRangeForDBID(DBIDRef id,
double range,
ModifiableDoubleDBIDList neighbors) |
void |
LinearScanSimilarityRangeQuery.getRangeForDBID(DBIDRef id,
double range,
ModifiableDoubleDBIDList neighbors) |
void |
AbstractDistanceRangeQuery.getRangeForDBID(DBIDRef id,
double range,
ModifiableDoubleDBIDList neighbors) |
void |
LinearScanPrimitiveSimilarityRangeQuery.getRangeForDBID(DBIDRef id,
double range,
ModifiableDoubleDBIDList neighbors) |
void |
LinearScanPrimitiveDistanceRangeQuery.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 |
LinearScanDistanceRangeQuery.getRangeForObject(O obj,
double range,
ModifiableDoubleDBIDList neighbors) |
void |
LinearScanEuclideanDistanceRangeQuery.getRangeForObject(O obj,
double range,
ModifiableDoubleDBIDList neighbors) |
void |
LinearScanSimilarityRangeQuery.getRangeForObject(O obj,
double range,
ModifiableDoubleDBIDList neighbors) |
void |
LinearScanPrimitiveSimilarityRangeQuery.getRangeForObject(O obj,
double range,
ModifiableDoubleDBIDList neighbors) |
void |
LinearScanPrimitiveDistanceRangeQuery.getRangeForObject(O obj,
double range,
ModifiableDoubleDBIDList neighbors) |
private void |
LinearScanEuclideanDistanceRangeQuery.linearScan(Relation<? extends O> relation,
DBIDIter iter,
O obj,
double range,
ModifiableDoubleDBIDList result)
Main loop for linear scan,
|
private void |
LinearScanPrimitiveSimilarityRangeQuery.linearScan(Relation<? extends O> relation,
DBIDIter iter,
O obj,
double range,
ModifiableDoubleDBIDList result)
Main loop for linear scan,
|
private void |
LinearScanPrimitiveDistanceRangeQuery.linearScan(Relation<? extends O> relation,
DBIDIter iter,
O obj,
double range,
ModifiableDoubleDBIDList result)
Main loop for linear scan,
|
Modifier and Type | Method and Description |
---|---|
void |
PrecomputedSimilarityMatrix.PrecomputedSimilarityRangeQuery.getRangeForDBID(DBIDRef id,
double range,
ModifiableDoubleDBIDList result) |
void |
PrecomputedDistanceMatrix.PrecomputedRangeQuery.getRangeForDBID(DBIDRef id,
double range,
ModifiableDoubleDBIDList result) |
void |
PrecomputedSimilarityMatrix.PrecomputedSimilarityRangeQuery.getRangeForObject(O obj,
double range,
ModifiableDoubleDBIDList result) |
void |
PrecomputedDistanceMatrix.PrecomputedRangeQuery.getRangeForObject(O obj,
double range,
ModifiableDoubleDBIDList result) |
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) java.util.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) java.util.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 |
CoverTree.CoverTreeRangeQuery.getRangeForObject(O obj,
double range,
ModifiableDoubleDBIDList ret) |
void |
SimplifiedCoverTree.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 |
MTreeRangeQuery.doRangeQuery(DBID o_p,
AbstractMTreeNode<O,?,?> node,
O q,
double r_q,
ModifiableDoubleDBIDList result)
Performs a range query on the specified subtree.
|
void |
MTreeRangeQuery.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 |
MinimalisticMemoryKDTree.KDTreeRangeQuery.getRangeForObject(O obj,
double range,
ModifiableDoubleDBIDList result) |
void |
SmallMemoryKDTree.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 |
---|---|
java.util.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,
java.util.Map<DBID,ModifiableDoubleDBIDList> result)
Performs a bulk reverse knn query in the specified subtree.
|
Modifier and Type | Method and Description |
---|---|
void |
PartialVAFile.PartialVAFileRangeQuery.getRangeForObject(V query,
double range,
ModifiableDoubleDBIDList result) |
void |
VAFile.VAFileRangeQuery.getRangeForObject(V query,
double eps,
ModifiableDoubleDBIDList result) |
Copyright © 2019 ELKI Development Team. License information.