Modifier and Type | Method and Description |
---|---|
protected void |
DBSCAN.expandCluster(Relation<O> relation,
RangeQuery<O,D> rangeQuery,
DBIDRef startObjectID,
FiniteProgress objprog,
IndefiniteProgress clusprog)
DBSCAN-function expandCluster.
|
Constructor and Description |
---|
ORCLUS.ORCLUSCluster(V o,
DBIDRef id,
NumberVector.Factory<V,?> factory)
Creates a new cluster containing the specified object o.
|
Modifier and Type | Method and Description |
---|---|
T |
NeighborPredicate.Instance.getNeighbors(DBIDRef reference)
Get the neighbors of a reference object for DBSCAN.
|
DistanceDBIDList<D> |
EpsilonNeighborPredicate.Instance.getNeighbors(DBIDRef reference) |
boolean |
MinPtsCorePredicate.Instance.isCorePoint(DBIDRef point,
DBIDs neighbors) |
boolean |
CorePredicate.Instance.isCorePoint(DBIDRef point,
T neighbors)
Decide whether the point is a core point, based on its neighborhood.
|
Modifier and Type | Method and Description |
---|---|
int |
ExtractFlatClusteringFromHierarchy.CompareByLambda.compare(DBIDRef id1,
DBIDRef id2) |
int |
ExtractFlatClusteringFromHierarchy.CompareByDoubleLambda.compare(DBIDRef id1,
DBIDRef id2) |
private Cluster<DendrogramModel<D>> |
ExtractFlatClusteringFromHierarchy.makeCluster(DBIDRef lead,
D depth,
DBIDs members)
Make the cluster for the given object
|
private void |
SLINK.step1(DBIDRef id,
WritableDBIDDataStore pi,
WritableDataStore<D> lambda)
First step: Initialize P(id) = id, L(id) = infinity.
|
private void |
SLINK.step1double(DBIDRef id,
WritableDBIDDataStore pi,
WritableDoubleDistanceDataStore lambda)
First step: Initialize P(id) = id, L(id) = infinity.
|
private void |
SLINK.step2(DBIDRef id,
DBIDs processedIDs,
DistanceQuery<O,D> distFunc,
WritableDataStore<D> m)
Second step: Determine the pairwise distances from all objects in the
pointer representation to the new object with the specified id.
|
private void |
SLINK.step2double(DBIDRef id,
DBIDs processedIDs,
Relation<? extends O> relation,
PrimitiveDoubleDistanceFunction<? super O> distFunc,
WritableDoubleDistanceDataStore m)
Second step: Determine the pairwise distances from all objects in the
pointer representation to the new object with the specified id.
|
private void |
SLINK.step3(DBIDRef id,
WritableDBIDDataStore pi,
WritableDataStore<D> lambda,
DBIDs processedIDs,
WritableDataStore<D> m)
Third step: Determine the values for P and L
|
private void |
SLINK.step3double(DBIDRef id,
WritableDBIDDataStore pi,
WritableDoubleDistanceDataStore lambda,
DBIDs processedIDs,
WritableDoubleDistanceDataStore m)
Third step: Determine the values for P and L
|
private void |
SLINK.step4(DBIDRef id,
WritableDBIDDataStore pi,
WritableDataStore<D> lambda,
DBIDs processedIDs)
Fourth step: Actualize the clusters if necessary
|
private void |
SLINK.step4double(DBIDRef id,
WritableDBIDDataStore pi,
WritableDoubleDistanceDataStore lambda,
DBIDs processedIDs)
Fourth step: Actualize the clusters if necessary
|
Modifier and Type | Method and Description |
---|---|
boolean |
CLIQUEUnit.addFeatureVector(DBIDRef id,
V vector)
Adds the id of the specified feature vector to this unit, if this unit
contains the feature vector.
|
Modifier and Type | Method and Description |
---|---|
private void |
ByLabelHierarchicalClustering.assign(HashMap<String,DBIDs> labelMap,
String label,
DBIDRef id)
Assigns the specified id to the labelMap according to its label
|
private void |
ByLabelClustering.assign(HashMap<String,DBIDs> labelMap,
String label,
DBIDRef id)
Assigns the specified id to the labelMap according to its label
|
Modifier and Type | Method and Description |
---|---|
protected double |
ABOD.computeABOF(Relation<V> relation,
KernelMatrix kernelMatrix,
DBIDRef pA,
MeanVariance s)
Compute the exact ABOF value.
|
Modifier and Type | Method and Description |
---|---|
DBIDs |
NeighborSetPredicate.getNeighborDBIDs(DBIDRef reference)
Get the neighbors of a reference object for DBSCAN.
|
DBIDs |
AbstractPrecomputedNeighborhood.getNeighborDBIDs(DBIDRef reference) |
Modifier and Type | Method and Description |
---|---|
Collection<DoubleDBIDPair> |
LinearWeightedExtendedNeighborhood.getWeightedNeighbors(DBIDRef reference) |
Collection<DoubleDBIDPair> |
UnweightedNeighborhoodAdapter.getWeightedNeighbors(DBIDRef reference) |
Collection<DoubleDBIDPair> |
WeightedNeighborSetPredicate.getWeightedNeighbors(DBIDRef reference)
Get the neighbors of a reference object for DBSCAN.
|
Modifier and Type | Method and Description |
---|---|
private DBIDs |
SOD.getNearestNeighbors(Relation<V> relation,
SimilarityQuery<V,D> simQ,
DBIDRef queryObject)
Provides the k nearest neighbors in terms of the shared nearest neighbor
distance.
|
double |
OUTRES.outresScore(int s,
BitSet subspace,
DBIDRef id,
OUTRES.KernelDensityEstimator kernel)
Main loop of OUTRES.
|
private DoubleDistanceDBIDList |
OUTRES.subsetNeighborhoodQuery(DistanceDBIDList<DoubleDistance> neighc,
DBIDRef dbid,
PrimitiveDoubleDistanceFunction<? super V> df,
double adjustedEps,
OUTRES.KernelDensityEstimator kernel)
Refine neighbors within a subset.
|
Modifier and Type | Method and Description |
---|---|
protected void |
JSONWebServer.bundleToJSON(JSONBuffer re,
DBIDRef id)
Serialize an object bundle to JSON.
|
Modifier and Type | Method and Description |
---|---|
int |
VectorUtil.SortDBIDsBySingleDimension.compare(DBIDRef id1,
DBIDRef id2) |
Modifier and Type | Method and Description |
---|---|
SingleObjectBundle |
HashmapDatabase.delete(DBIDRef id)
Removes the object from the database (by calling
HashmapDatabase.doDelete(DBIDRef)
) and indexes and fires a deletion event. |
SingleObjectBundle |
UpdatableDatabase.delete(DBIDRef id)
Removes and returns the specified objects with the given ids from the
database.
|
private void |
HashmapDatabase.doDelete(DBIDRef id)
Removes the object with the specified id from this database.
|
private void |
DatabaseEventManager.fireObjectChanged(DBIDRef object,
DataStoreEvent.Type type)
Handles a DataStoreEvent with the specified type.
|
void |
DatabaseEventManager.fireObjectInserted(DBIDRef insertion)
Convenience method, calls
fireObjectChanged(insertion,
DataStoreEvent.Type.INSERT) . |
protected void |
DatabaseEventManager.fireObjectRemoved(DBIDRef deletion)
Convenience method, calls
fireObjectChanged(deletion,
DataStoreEvent.Type.DELETE) . |
SingleObjectBundle |
Database.getBundle(DBIDRef id)
Returns the DatabaseObject represented by the specified id.
|
SingleObjectBundle |
AbstractDatabase.getBundle(DBIDRef id) |
Modifier and Type | Method and Description |
---|---|
void |
DBIDDataStore.assignVar(DBIDRef id,
DBIDVar var)
Retrieves an object from the storage.
|
void |
WritableDataStore.delete(DBIDRef id)
Delete the contents for a particular ID and notifies the registered
listeners.
|
double |
DoubleDataStore.doubleValue(DBIDRef id)
Retrieves an object from the storage.
|
double |
DoubleDistanceDataStore.doubleValue(DBIDRef id)
Retrieves an object from the storage.
|
Double |
DoubleDataStore.get(DBIDRef id)
Deprecated.
Use
DoubleDataStore.doubleValue(de.lmu.ifi.dbs.elki.database.ids.DBIDRef) instead, to avoid boxing/unboxing cost. |
T |
DataStore.get(DBIDRef id)
Retrieves an object from the storage.
|
Integer |
IntegerDataStore.get(DBIDRef id)
Deprecated.
Use
IntegerDataStore.intValue(de.lmu.ifi.dbs.elki.database.ids.DBIDRef) instead, to avoid boxing/unboxing cost. |
DoubleDistance |
DoubleDistanceDataStore.get(DBIDRef id)
Deprecated.
Use
DoubleDistanceDataStore.doubleValue(de.lmu.ifi.dbs.elki.database.ids.DBIDRef) instead, to avoid boxing/unboxing cost. |
DBID |
DBIDDataStore.get(DBIDRef id)
Deprecated.
Use
DBIDDataStore.assignVar(de.lmu.ifi.dbs.elki.database.ids.DBIDRef, de.lmu.ifi.dbs.elki.database.ids.DBIDVar) and a DBIDVar instead, to avoid boxing/unboxing cost. |
int |
IntegerDataStore.intValue(DBIDRef id)
Retrieves an object from the storage.
|
int |
DataStoreIDMap.mapDBIDToOffset(DBIDRef dbid)
Map a DBID to an array offset.
|
DBID |
WritableDBIDDataStore.put(DBIDRef id,
DBID value)
Deprecated.
Use
WritableDBIDDataStore.putDBID(de.lmu.ifi.dbs.elki.database.ids.DBIDRef, de.lmu.ifi.dbs.elki.database.ids.DBIDRef) instead, to avoid boxing/unboxing cost. |
void |
WritableDBIDDataStore.put(DBIDRef id,
DBIDRef value)
Associates the specified value with the specified id in this storage.
|
double |
WritableDoubleDistanceDataStore.put(DBIDRef id,
double value)
Associates the specified value with the specified id in this storage.
|
double |
WritableDoubleDataStore.put(DBIDRef id,
double value)
Associates the specified value with the specified id in this storage.
|
Double |
WritableDoubleDataStore.put(DBIDRef id,
Double value)
Deprecated.
Use
WritableDoubleDataStore.putDouble(de.lmu.ifi.dbs.elki.database.ids.DBIDRef, double) instead, to avoid boxing/unboxing cost. |
DoubleDistance |
WritableDoubleDistanceDataStore.put(DBIDRef id,
DoubleDistance value)
Deprecated.
Use
WritableDoubleDistanceDataStore.putDouble(de.lmu.ifi.dbs.elki.database.ids.DBIDRef, double) instead, to avoid boxing/unboxing cost. |
int |
WritableIntegerDataStore.put(DBIDRef id,
int value)
Associates the specified value with the specified id in this storage.
|
Integer |
WritableIntegerDataStore.put(DBIDRef id,
Integer value)
Deprecated.
Use
WritableIntegerDataStore.putInt(de.lmu.ifi.dbs.elki.database.ids.DBIDRef, int) instead, to avoid boxing/unboxing cost. |
T |
WritableDataStore.put(DBIDRef id,
T value)
Associates the specified value with the specified id in this storage.
|
void |
WritableDBIDDataStore.putDBID(DBIDRef id,
DBIDRef value)
Associates the specified value with the specified id in this storage.
|
double |
WritableDoubleDistanceDataStore.putDouble(DBIDRef id,
double value)
Associates the specified value with the specified id in this storage.
|
double |
WritableDoubleDataStore.putDouble(DBIDRef id,
double value)
Associates the specified value with the specified id in this storage.
|
int |
WritableIntegerDataStore.putInt(DBIDRef id,
int value)
Associates the specified value with the specified id in this storage.
|
boolean |
WritableRecordStore.remove(DBIDRef id)
Remove an object from the store, all columns.
|
Modifier and Type | Method and Description |
---|---|
void |
MapIntegerDBIDDBIDStore.assignVar(DBIDRef id,
DBIDVar var) |
void |
ArrayDBIDStore.assignVar(DBIDRef id,
DBIDVar var) |
void |
MapIntegerDBIDDBIDStore.delete(DBIDRef id) |
void |
ArrayDoubleDistanceStore.delete(DBIDRef id) |
void |
ArrayStore.delete(DBIDRef id) |
void |
MapIntegerDBIDRecordStore.StorageAccessor.delete(DBIDRef id) |
void |
MapIntegerDBIDIntegerStore.delete(DBIDRef id) |
void |
MapIntegerDBIDDoubleDistanceStore.delete(DBIDRef id) |
void |
ArrayIntegerStore.delete(DBIDRef id) |
void |
MapIntegerDBIDStore.delete(DBIDRef id) |
void |
ArrayRecordStore.StorageAccessor.delete(DBIDRef id) |
void |
ArrayDBIDStore.delete(DBIDRef id) |
void |
ArrayDoubleStore.delete(DBIDRef id) |
void |
MapIntegerDBIDDoubleStore.delete(DBIDRef id) |
void |
MapRecordStore.StorageAccessor.delete(DBIDRef id) |
void |
MapStore.delete(DBIDRef id) |
double |
ArrayDoubleDistanceStore.doubleValue(DBIDRef id) |
double |
MapIntegerDBIDDoubleDistanceStore.doubleValue(DBIDRef id) |
double |
ArrayDoubleStore.doubleValue(DBIDRef id) |
double |
MapIntegerDBIDDoubleStore.doubleValue(DBIDRef id) |
DBID |
MapIntegerDBIDDBIDStore.get(DBIDRef id)
Deprecated.
|
DoubleDistance |
ArrayDoubleDistanceStore.get(DBIDRef id)
Deprecated.
|
T |
ArrayStore.get(DBIDRef id) |
T |
MapIntegerDBIDRecordStore.StorageAccessor.get(DBIDRef id) |
Integer |
MapIntegerDBIDIntegerStore.get(DBIDRef id)
Deprecated.
|
DoubleDistance |
MapIntegerDBIDDoubleDistanceStore.get(DBIDRef id)
Deprecated.
|
Integer |
ArrayIntegerStore.get(DBIDRef id)
Deprecated.
|
T |
MapIntegerDBIDStore.get(DBIDRef id) |
T |
ArrayRecordStore.StorageAccessor.get(DBIDRef id) |
DBID |
ArrayDBIDStore.get(DBIDRef id)
Deprecated.
|
Double |
ArrayDoubleStore.get(DBIDRef id)
Deprecated.
|
Double |
MapIntegerDBIDDoubleStore.get(DBIDRef id)
Deprecated.
|
T |
MapRecordStore.StorageAccessor.get(DBIDRef id) |
T |
MapStore.get(DBIDRef id) |
protected <T> T |
MapIntegerDBIDRecordStore.get(DBIDRef id,
int index)
Actual getter.
|
protected <T> T |
ArrayRecordStore.get(DBIDRef id,
int index)
Actual getter
|
protected <T> T |
MapRecordStore.get(DBIDRef id,
int index)
Actual getter.
|
int |
MapIntegerDBIDIntegerStore.intValue(DBIDRef id) |
int |
ArrayIntegerStore.intValue(DBIDRef id) |
DBID |
MapIntegerDBIDDBIDStore.put(DBIDRef id,
DBID value)
Deprecated.
|
DBID |
ArrayDBIDStore.put(DBIDRef id,
DBID value)
Deprecated.
|
void |
MapIntegerDBIDDBIDStore.put(DBIDRef id,
DBIDRef value) |
void |
ArrayDBIDStore.put(DBIDRef id,
DBIDRef value) |
double |
ArrayDoubleDistanceStore.put(DBIDRef id,
double value) |
double |
MapIntegerDBIDDoubleDistanceStore.put(DBIDRef id,
double value) |
double |
ArrayDoubleStore.put(DBIDRef id,
double value) |
double |
MapIntegerDBIDDoubleStore.put(DBIDRef id,
double value) |
Double |
ArrayDoubleStore.put(DBIDRef id,
Double value)
Deprecated.
|
Double |
MapIntegerDBIDDoubleStore.put(DBIDRef id,
Double value)
Deprecated.
|
DoubleDistance |
ArrayDoubleDistanceStore.put(DBIDRef id,
DoubleDistance value)
Deprecated.
|
DoubleDistance |
MapIntegerDBIDDoubleDistanceStore.put(DBIDRef id,
DoubleDistance value)
Deprecated.
|
int |
MapIntegerDBIDIntegerStore.put(DBIDRef id,
int value) |
int |
ArrayIntegerStore.put(DBIDRef id,
int value) |
Integer |
MapIntegerDBIDIntegerStore.put(DBIDRef id,
Integer value)
Deprecated.
|
Integer |
ArrayIntegerStore.put(DBIDRef id,
Integer value)
Deprecated.
|
T |
ArrayStore.put(DBIDRef id,
T value) |
T |
MapIntegerDBIDRecordStore.StorageAccessor.put(DBIDRef id,
T value) |
T |
MapIntegerDBIDStore.put(DBIDRef id,
T value) |
T |
ArrayRecordStore.StorageAccessor.put(DBIDRef id,
T value) |
T |
MapRecordStore.StorageAccessor.put(DBIDRef id,
T value) |
T |
MapStore.put(DBIDRef id,
T value) |
void |
MapIntegerDBIDDBIDStore.putDBID(DBIDRef id,
DBIDRef value) |
void |
ArrayDBIDStore.putDBID(DBIDRef id,
DBIDRef value) |
double |
ArrayDoubleDistanceStore.putDouble(DBIDRef id,
double value) |
double |
MapIntegerDBIDDoubleDistanceStore.putDouble(DBIDRef id,
double value) |
double |
ArrayDoubleStore.putDouble(DBIDRef id,
double value) |
double |
MapIntegerDBIDDoubleStore.putDouble(DBIDRef id,
double value) |
int |
MapIntegerDBIDIntegerStore.putInt(DBIDRef id,
int value) |
int |
ArrayIntegerStore.putInt(DBIDRef id,
int value) |
boolean |
MapIntegerDBIDRecordStore.remove(DBIDRef id) |
boolean |
ArrayRecordStore.remove(DBIDRef id) |
boolean |
MapRecordStore.remove(DBIDRef id) |
protected <T> T |
MapIntegerDBIDRecordStore.set(DBIDRef id,
int index,
T value)
Actual setter.
|
protected <T> T |
ArrayRecordStore.set(DBIDRef id,
int index,
T value)
Actual setter
|
protected <T> T |
MapRecordStore.set(DBIDRef id,
int index,
T value)
Actual setter.
|
Modifier and Type | Interface and Description |
---|---|
interface |
DBID
Database ID object.
|
interface |
DBIDArrayIter
Array iterators that can also go backwards and seek.
|
interface |
DBIDArrayMIter
Modifiable array iterator.
|
interface |
DBIDIter
Iterator for DBIDs.
|
interface |
DBIDMIter
Modifiable DBID iterator.
|
interface |
DBIDVar
(Persistent) variable storing a DBID reference.
|
interface |
DoubleDBIDPair
Pair of a double value and a DBID
|
Modifier and Type | Class and Description |
---|---|
protected static class |
EmptyDBIDs.EmptyDBIDIterator
Iterator for empty DBIDs-
|
Modifier and Type | Method and Description |
---|---|
DBIDRef |
DBIDFactory.invalid()
Get the invalid DBID value, usable as "undefined" placeholder.
|
static DBIDRef |
DBIDUtil.invalid()
Get the invalid special ID.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ModifiableDBIDs.add(DBIDRef id)
Add a single DBID to the collection.
|
static int |
DBIDUtil.asInteger(DBIDRef id)
Export a DBID as int.
|
int |
EmptyDBIDs.binarySearch(DBIDRef key) |
int |
ArrayDBIDs.binarySearch(DBIDRef key)
Search for the position of the given key, assuming that the data set is
sorted.
|
int |
DBIDFactory.compare(DBIDRef a,
DBIDRef b)
Compare two DBIDs, for sorting.
|
static int |
DBIDUtil.compare(DBIDRef id1,
DBIDRef id2)
Compare two DBIDs.
|
int |
DBID.compareTo(DBIDRef other)
Compare two DBIDs for ordering.
|
boolean |
EmptyDBIDs.contains(DBIDRef o) |
boolean |
DBIDs.contains(DBIDRef o)
Test whether an ID is contained.
|
void |
DBIDFactory.deallocateSingleDBID(DBIDRef id)
Return a single DBID for reuse.
|
static DBID |
DBIDUtil.deref(DBIDRef ref)
Dereference a DBID reference.
|
boolean |
DBIDFactory.equal(DBIDRef a,
DBIDRef b)
Compare two DBIDs, for equality testing.
|
static boolean |
DBIDUtil.equal(DBIDRef id1,
DBIDRef id2)
Test two DBIDs for equality.
|
int |
DBIDRange.getOffset(DBIDRef dbid)
Get offset in the array for a particular DBID.
|
<D extends Distance<D>> |
DBIDFactory.newDistancePair(D val,
DBIDRef id)
Make a new distance-DBID pair.
|
static <D extends Distance<D>> |
DBIDUtil.newDistancePair(D dist,
DBIDRef id)
Make a DistanceDBIDPair.
|
DoubleDistanceDBIDPair |
DBIDFactory.newDistancePair(double val,
DBIDRef id)
Make a new distance-DBID pair.
|
static DoubleDistanceDBIDPair |
DBIDUtil.newDistancePair(double dist,
DBIDRef id)
Make a DoubleDistanceDBIDPair.
|
DBIDPair |
DBIDFactory.newPair(DBIDRef id1,
DBIDRef id2)
Make a DBID pair from two existing DBIDs.
|
static DBIDPair |
DBIDUtil.newPair(DBIDRef id1,
DBIDRef id2)
Make a DBID pair.
|
DoubleDBIDPair |
DBIDFactory.newPair(double val,
DBIDRef id)
Make a double-DBID pair.
|
static DoubleDBIDPair |
DBIDUtil.newPair(double val,
DBIDRef id)
Make a DoubleDBIDPair.
|
DBIDVar |
DBIDFactory.newVar(DBIDRef val)
Make a new DBID variable.
|
static DBIDVar |
DBIDUtil.newVar(DBIDRef val)
Make a new DBID variable.
|
boolean |
ModifiableDBIDs.remove(DBIDRef id)
Remove a single DBID from the collection.
|
void |
DBIDVar.set(DBIDRef ref)
Assign a new value for the reference.
|
DBID |
ArrayModifiableDBIDs.set(int i,
DBIDRef newval)
Replace the i'th entry (starting at 0)
|
String |
DBIDFactory.toString(DBIDRef id)
Print a DBID as string.
|
static String |
DBIDUtil.toString(DBIDRef id)
Format a DBID as string.
|
Modifier and Type | Method and Description |
---|---|
void |
ArrayModifiableDBIDs.sort(Comparator<? super DBIDRef> comparator)
Sort the DBID set.
|
void |
ArrayModifiableDBIDs.sort(int start,
int end,
Comparator<? super DBIDRef> comparator)
Sort the DBID set.
|
Modifier and Type | Interface and Description |
---|---|
interface |
DistanceDBIDListIter<D extends Distance<D>>
Iterator over distance-based query results.
|
interface |
DistanceDBIDPair<D extends Distance<D>>
Pair containing a distance an an object ID
Note: there is no getter for the object, as this is a
DBIDRef . |
interface |
DoubleDistanceDBIDListIter
Iterator for double valued distance-based query results.
|
interface |
DoubleDistanceDBIDPair
Pair containing a double distance a DBID.
|
Modifier and Type | Class and Description |
---|---|
protected class |
DoubleDistanceDBIDPairList.Itr
Iterator class.
|
Modifier and Type | Method and Description |
---|---|
void |
ModifiableDistanceDBIDList.add(D distance,
DBIDRef id)
Add an object to this result.
|
void |
ModifiableDoubleDistanceDBIDList.add(double dist,
DBIDRef id)
Add an element.
|
void |
DoubleDistanceDBIDPairList.add(double dist,
DBIDRef id)
Add an element.
|
void |
ModifiableDoubleDistanceDBIDList.add(DoubleDistance dist,
DBIDRef id)
Deprecated.
Pass a double value instead.
|
void |
DoubleDistanceDBIDPairList.add(DoubleDistance dist,
DBIDRef id)
Deprecated.
Pass a double value instead.
|
boolean |
DoubleDistanceDBIDPairList.contains(DBIDRef o) |
void |
KNNHeap.insert(D distance,
DBIDRef id)
Add a distance-id pair to the heap unless the distance is too large.
|
double |
DoubleDistanceKNNHeap.insert(double distance,
DBIDRef id)
Add a distance-id pair to the heap unless the distance is too large.
|
void |
DoubleDistanceKNNHeap.insert(Double distance,
DBIDRef id)
Deprecated.
|
void |
DoubleDistanceKNNHeap.insert(DoubleDistance dist,
DBIDRef id)
Deprecated.
if you know your distances are double-valued, you should be
using the primitive type.
|
Modifier and Type | Class and Description |
---|---|
class |
DBIDIterAdapter
Iterator for classic collections.
|
private class |
DistanceDBIDPairKNNList.Itr
Iterator.
|
private class |
DoubleDistanceDBIDPairKNNList.Itr
Iterator.
|
private class |
DoubleDistanceDBIDPairKNNListHeap.Itr
Iterator.
|
private class |
DoubleDistanceKNNSubList.Itr
Iterator for the sublist.
|
protected class |
GenericDistanceDBIDList.Itr
Iterator class.
|
private class |
KNNSubList.Itr
Iterator for the sublist.
|
protected class |
MaskedDBIDs.DBIDItr
Iterator over set bits.
|
protected class |
MaskedDBIDs.InvDBIDItr
Iterator over set bits.
|
(package private) class |
UnmodifiableArrayDBIDs.UnmodifiableDBIDArrayIter
Make an existing DBIDMIter unmodifiable.
|
(package private) class |
UnmodifiableDBIDs.UnmodifiableDBIDIter
Make an existing DBIDMIter unmodifiable.
|
Modifier and Type | Method and Description |
---|---|
void |
GenericDistanceDBIDList.add(D dist,
DBIDRef id) |
int |
UnmodifiableArrayDBIDs.binarySearch(DBIDRef key) |
boolean |
GenericDistanceDBIDList.contains(DBIDRef o) |
boolean |
KNNSubList.contains(DBIDRef o) |
boolean |
UnmodifiableArrayDBIDs.contains(DBIDRef o) |
boolean |
MergedDBIDs.contains(DBIDRef o) |
boolean |
UnmodifiableDBIDs.contains(DBIDRef o) |
boolean |
DoubleDistanceDBIDPairKNNListHeap.contains(DBIDRef o) |
boolean |
DoubleDistanceDBIDPairKNNList.contains(DBIDRef o) |
boolean |
MaskedDBIDs.contains(DBIDRef o) |
boolean |
DistanceDBIDPairKNNList.contains(DBIDRef o) |
boolean |
DoubleDistanceKNNSubList.contains(DBIDRef o) |
void |
DistanceDBIDPairKNNHeap.insert(D distance,
DBIDRef id) |
double |
DoubleDistanceDBIDPairKNNListHeap.insert(double distance,
DBIDRef id) |
double |
DoubleDistanceDBIDPairKNNHeap.insert(double distance,
DBIDRef id)
Add a distance-id pair to the heap unless the distance is too large.
|
void |
DoubleDistanceDBIDPairKNNListHeap.insert(Double distance,
DBIDRef id)
Deprecated.
|
void |
DoubleDistanceDBIDPairKNNHeap.insert(Double distance,
DBIDRef id)
Deprecated.
|
void |
DoubleDistanceDBIDPairKNNListHeap.insert(DoubleDistance dist,
DBIDRef id)
Deprecated.
|
void |
DoubleDistanceDBIDPairKNNHeap.insert(DoubleDistance dist,
DBIDRef id)
Deprecated.
if you know your distances are double-valued, you should be
using the primitive type.
|
Modifier and Type | Interface and Description |
---|---|
interface |
DoubleDistanceIntegerDBIDListIter
Combination interface.
|
interface |
IntegerDBIDArrayIter
Modifiable integer array iterator.
|
interface |
IntegerDBIDArrayMIter
Modifiable integer array iterator.
|
interface |
IntegerDBIDIter
Iterator for integer DBIDs.
|
interface |
IntegerDBIDMIter
Modifiable iterator interface for integer DBIDs.
|
(package private) interface |
IntegerDBIDRef
DBID reference that references an integer value.
|
Modifier and Type | Class and Description |
---|---|
private class |
ArrayModifiableIntegerDBIDs.Itr
Iterator class.
|
private class |
ArrayModifiableIntegerDBIDs.Slice.SliceItr
Iterator class.
|
protected class |
ArrayStaticIntegerDBIDs.Itr
DBID iterator in ELKI/C style.
|
private class |
ArrayStaticIntegerDBIDs.Slice.SliceItr
Iterator class.
|
(package private) class |
DistanceIntegerDBIDPair<D extends Distance<D>>
Class storing a double distance a DBID.
|
private class |
DoubleDistanceIntegerDBIDList.Itr
List iterator.
|
(package private) class |
DoubleDistanceIntegerDBIDPair
Class storing a double distance a DBID.
|
private class |
DoubleDistanceIntegerDBIDPairKNNListHeap.Itr
Iterator.
|
private class |
DoubleDistanceIntegerDBIDPairList.Itr
List iterator.
|
(package private) class |
IntegerDBID
Database ID object.
|
protected class |
IntegerDBID.Itr
Pseudo iterator for DBIDs interface.
|
private static class |
IntegerDBIDRange.Itr
Iterator in ELKI/C++ style.
|
(package private) class |
IntegerDBIDVar
Variable for storing a single DBID reference.
|
protected class |
IntegerDBIDVar.Itr
Pseudo iterator for DBIDs interface.
|
(package private) class |
IntegerDoubleDBIDPair
Pair containing a double value and an integer DBID.
|
protected static class |
TroveHashSetModifiableDBIDs.Itr
Iterator over trove hashs.
|
(package private) class |
UnmodifiableIntegerArrayDBIDs.UnmodifiableDBIDIter
Make an existing DBIDMIter unmodifiable.
|
(package private) class |
UnmodifiableIntegerDBIDs.UnmodifiableDBIDIter
Make an existing DBIDMIter unmodifiable.
|
Modifier and Type | Method and Description |
---|---|
DBIDRef |
AbstractIntegerDBIDFactory.invalid() |
Modifier and Type | Method and Description |
---|---|
boolean |
TroveHashSetModifiableDBIDs.add(DBIDRef e) |
boolean |
ArrayModifiableIntegerDBIDs.add(DBIDRef e) |
void |
DoubleDistanceIntegerDBIDList.add(double dist,
DBIDRef id) |
void |
DoubleDistanceIntegerDBIDPairList.add(double dist,
DBIDRef id) |
void |
DoubleDistanceIntegerDBIDSortedKNNList.add(double dist,
DBIDRef id) |
void |
DoubleDistanceIntegerDBIDList.add(DoubleDistance dist,
DBIDRef id)
Deprecated.
|
void |
DoubleDistanceIntegerDBIDPairList.add(DoubleDistance dist,
DBIDRef id)
Deprecated.
|
int |
UnmodifiableIntegerArrayDBIDs.binarySearch(DBIDRef key) |
int |
IntegerDBID.binarySearch(DBIDRef key) |
int |
IntegerDBIDVar.binarySearch(DBIDRef key) |
int |
IntegerDBIDRange.binarySearch(DBIDRef key) |
int |
ArrayModifiableIntegerDBIDs.binarySearch(DBIDRef key) |
int |
ArrayModifiableIntegerDBIDs.Slice.binarySearch(DBIDRef key) |
int |
ArrayStaticIntegerDBIDs.binarySearch(DBIDRef key) |
int |
ArrayStaticIntegerDBIDs.Slice.binarySearch(DBIDRef key) |
int |
AbstractIntegerDBIDFactory.compare(DBIDRef a,
DBIDRef b) |
int |
IntegerDBID.compareTo(DBIDRef o) |
boolean |
TroveHashSetModifiableDBIDs.contains(DBIDRef o) |
boolean |
UnmodifiableIntegerArrayDBIDs.contains(DBIDRef o) |
boolean |
DoubleDistanceIntegerDBIDList.contains(DBIDRef o) |
boolean |
IntegerDBID.contains(DBIDRef o) |
boolean |
IntegerDBIDVar.contains(DBIDRef o) |
boolean |
UnmodifiableIntegerDBIDs.contains(DBIDRef o) |
boolean |
IntegerDBIDRange.contains(DBIDRef o) |
boolean |
DoubleDistanceIntegerDBIDPairList.contains(DBIDRef o) |
boolean |
DoubleDistanceIntegerDBIDPairKNNListHeap.contains(DBIDRef o) |
boolean |
ArrayModifiableIntegerDBIDs.contains(DBIDRef o) |
boolean |
ArrayModifiableIntegerDBIDs.Slice.contains(DBIDRef o) |
boolean |
ArrayStaticIntegerDBIDs.contains(DBIDRef o) |
boolean |
ArrayStaticIntegerDBIDs.Slice.contains(DBIDRef o) |
void |
TrivialDBIDFactory.deallocateSingleDBID(DBIDRef id) |
void |
ReusingDBIDFactory.deallocateSingleDBID(DBIDRef id) |
void |
SimpleDBIDFactory.deallocateSingleDBID(DBIDRef id) |
boolean |
AbstractIntegerDBIDFactory.equal(DBIDRef a,
DBIDRef b) |
int |
IntegerDBIDRange.getOffset(DBIDRef dbid)
For storage array offsets.
|
double |
DoubleDistanceIntegerDBIDKNNHeap.insert(double distance,
DBIDRef id) |
double |
DoubleDistanceIntegerDBIDPairKNNListHeap.insert(double distance,
DBIDRef id) |
double |
DoubleDistanceIntegerDBIDSortedKNNList.insert(double dist,
DBIDRef id) |
void |
DoubleDistanceIntegerDBIDKNNHeap.insert(Double distance,
DBIDRef id)
Deprecated.
|
void |
DoubleDistanceIntegerDBIDPairKNNListHeap.insert(Double distance,
DBIDRef id)
Deprecated.
|
void |
DoubleDistanceIntegerDBIDSortedKNNList.insert(Double dist,
DBIDRef id)
Deprecated.
|
void |
DoubleDistanceIntegerDBIDKNNHeap.insert(DoubleDistance distance,
DBIDRef id)
Deprecated.
|
void |
DoubleDistanceIntegerDBIDPairKNNListHeap.insert(DoubleDistance dist,
DBIDRef id)
Deprecated.
|
void |
DoubleDistanceIntegerDBIDSortedKNNList.insert(DoubleDistance dist,
DBIDRef id)
Deprecated.
|
int |
IntegerDBIDRange.mapDBIDToOffset(DBIDRef dbid) |
<D extends Distance<D>> |
AbstractIntegerDBIDFactory.newDistancePair(D val,
DBIDRef id) |
DoubleDistanceDBIDPair |
AbstractIntegerDBIDFactory.newDistancePair(double val,
DBIDRef id) |
DBIDPair |
AbstractIntegerDBIDFactory.newPair(DBIDRef first,
DBIDRef second) |
DoubleDBIDPair |
AbstractIntegerDBIDFactory.newPair(double val,
DBIDRef id) |
DBIDVar |
AbstractIntegerDBIDFactory.newVar(DBIDRef val) |
boolean |
TroveHashSetModifiableDBIDs.remove(DBIDRef o) |
boolean |
ArrayModifiableIntegerDBIDs.remove(DBIDRef o) |
void |
IntegerDBIDVar.set(DBIDRef ref) |
DBID |
ArrayModifiableIntegerDBIDs.set(int index,
DBIDRef element) |
String |
AbstractIntegerDBIDFactory.toString(DBIDRef id) |
Modifier and Type | Method and Description |
---|---|
private static int |
IntegerDBIDArrayQuickSort.compare(IntegerDBIDVar i1,
int p1,
IntegerDBIDVar i2,
int p2,
Comparator<? super DBIDRef> comp)
Compare two elements.
|
private static void |
IntegerDBIDArrayQuickSort.quickSort(int[] data,
int start,
int end,
Comparator<? super DBIDRef> comp,
IntegerDBIDVar vl,
IntegerDBIDVar vk,
IntegerDBIDVar vr)
Actual recursive sort function.
|
void |
ArrayModifiableIntegerDBIDs.sort(Comparator<? super DBIDRef> comparator) |
static void |
IntegerDBIDArrayQuickSort.sort(int[] data,
Comparator<? super DBIDRef> comp)
Sort the full array using the given comparator.
|
static void |
IntegerDBIDArrayQuickSort.sort(int[] data,
int start,
int end,
Comparator<? super DBIDRef> comp)
Sort the array using the given comparator.
|
void |
ArrayModifiableIntegerDBIDs.sort(int start,
int end,
Comparator<? super DBIDRef> comparator) |
Constructor and Description |
---|
IntegerDBIDVar(DBIDRef val)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
D |
DBIDDistanceQuery.distance(DBIDRef id1,
DBIDRef id2) |
D |
PrimitiveDistanceQuery.distance(DBIDRef id1,
DBIDRef id2) |
D |
DistanceQuery.distance(DBIDRef id1,
DBIDRef id2)
Returns the distance between the two objects specified by their object ids.
|
abstract D |
AbstractDistanceQuery.distance(DBIDRef id1,
DBIDRef id2)
Returns the distance between the two objects specified by their object ids.
|
D |
PrimitiveDistanceQuery.distance(DBIDRef id1,
O o2) |
D |
DistanceQuery.distance(DBIDRef id1,
O o2)
Returns the distance between the two objects specified by their object ids.
|
D |
AbstractDatabaseDistanceQuery.distance(DBIDRef id1,
O o2) |
abstract D |
AbstractDistanceQuery.distance(DBIDRef id1,
O o2)
Returns the distance between the two objects specified by their object ids.
|
D |
PrimitiveDistanceQuery.distance(O o1,
DBIDRef id2) |
D |
DistanceQuery.distance(O o1,
DBIDRef id2)
Returns the distance between the two objects specified by their object ids.
|
D |
AbstractDatabaseDistanceQuery.distance(O o1,
DBIDRef id2) |
abstract D |
AbstractDistanceQuery.distance(O o1,
DBIDRef id2)
Returns the distance between the two objects specified by their object ids.
|
D |
PrimitiveDistanceSimilarityQuery.similarity(DBIDRef id1,
DBIDRef id2) |
D |
PrimitiveDistanceSimilarityQuery.similarity(DBIDRef id1,
O o2) |
D |
PrimitiveDistanceSimilarityQuery.similarity(O o1,
DBIDRef id2) |
Modifier and Type | Method and Description |
---|---|
KNNList<D> |
KNNQuery.getKNNForDBID(DBIDRef id,
int k)
Get the k nearest neighbors for a particular id.
|
DoubleDistanceKNNList |
DoubleOptimizedDistanceKNNQuery.getKNNForDBID(DBIDRef id,
int k) |
KNNList<D> |
LinearScanPrimitiveDistanceKNNQuery.getKNNForDBID(DBIDRef id,
int k) |
KNNList<D> |
PreprocessorKNNQuery.getKNNForDBID(DBIDRef id,
int k) |
KNNList<D> |
LinearScanDistanceKNNQuery.getKNNForDBID(DBIDRef id,
int k) |
KNNList<D> |
AbstractDistanceKNNQuery.getKNNForDBID(DBIDRef id,
int k) |
Modifier and Type | Method and Description |
---|---|
DistanceDBIDList<D> |
LinearScanPrimitiveDistanceRangeQuery.getRangeForDBID(DBIDRef id,
D range) |
DistanceDBIDList<D> |
RangeQuery.getRangeForDBID(DBIDRef id,
D range)
Get the nearest neighbors for a particular id in a given query range
|
DistanceDBIDList<D> |
LinearScanDistanceRangeQuery.getRangeForDBID(DBIDRef id,
D range) |
DistanceDBIDList<D> |
AbstractDistanceRangeQuery.getRangeForDBID(DBIDRef id,
D range) |
DistanceDBIDList<DoubleDistance> |
DoubleOptimizedDistanceRangeQuery.getRangeForDBID(DBIDRef id,
DoubleDistance range) |
Modifier and Type | Method and Description |
---|---|
DistanceDBIDList<D> |
LinearScanRKNNQuery.getRKNNForDBID(DBIDRef id,
int k) |
DistanceDBIDList<D> |
PreprocessorRKNNQuery.getRKNNForDBID(DBIDRef id,
int k) |
abstract DistanceDBIDList<D> |
AbstractRKNNQuery.getRKNNForDBID(DBIDRef id,
int k) |
DistanceDBIDList<D> |
RKNNQuery.getRKNNForDBID(DBIDRef id,
int k)
Get the reverse k nearest neighbors for a particular id.
|
Modifier and Type | Method and Description |
---|---|
D |
PrimitiveSimilarityQuery.similarity(DBIDRef id1,
DBIDRef id2) |
abstract D |
AbstractSimilarityQuery.similarity(DBIDRef id1,
DBIDRef id2)
Returns the distance between the two objects specified by their object ids.
|
D |
SimilarityQuery.similarity(DBIDRef id1,
DBIDRef id2)
Returns the similarity between the two objects specified by their object
ids.
|
D |
PrimitiveSimilarityQuery.similarity(DBIDRef id1,
O o2) |
D |
AbstractDBIDSimilarityQuery.similarity(DBIDRef id1,
O o2) |
abstract D |
AbstractSimilarityQuery.similarity(DBIDRef id1,
O o2)
Returns the distance between the two objects specified by their object ids.
|
D |
SimilarityQuery.similarity(DBIDRef id1,
O o2)
Returns the similarity between the two objects specified by their object
ids.
|
D |
PrimitiveSimilarityQuery.similarity(O o1,
DBIDRef id2) |
D |
AbstractDBIDSimilarityQuery.similarity(O o1,
DBIDRef id2) |
abstract D |
AbstractSimilarityQuery.similarity(O o1,
DBIDRef id2)
Returns the distance between the two objects specified by their object ids.
|
D |
SimilarityQuery.similarity(O o1,
DBIDRef id2)
Returns the similarity between the two objects specified by their object
ids.
|
Modifier and Type | Method and Description |
---|---|
void |
MaterializedRelation.delete(DBIDRef id)
Delete an objects values.
|
void |
ProxyView.delete(DBIDRef id) |
void |
ConvertToStringView.delete(DBIDRef id) |
void |
Relation.delete(DBIDRef id)
Delete an objects values.
|
void |
DBIDView.delete(DBIDRef id) |
void |
ProjectedView.delete(DBIDRef id) |
O |
MaterializedRelation.get(DBIDRef id) |
O |
ProxyView.get(DBIDRef id) |
String |
ConvertToStringView.get(DBIDRef id) |
O |
Relation.get(DBIDRef id)
Get the representation of an object.
|
DBID |
DBIDView.get(DBIDRef id) |
OUT |
ProjectedView.get(DBIDRef id) |
void |
DBIDView.set(DBIDRef id,
DBID val) |
void |
MaterializedRelation.set(DBIDRef id,
O val) |
void |
ProxyView.set(DBIDRef id,
O val) |
void |
Relation.set(DBIDRef id,
O val)
Set an object representation.
|
void |
ProjectedView.set(DBIDRef id,
OUT val) |
void |
ConvertToStringView.set(DBIDRef id,
String val) |
Modifier and Type | Method and Description |
---|---|
DoubleDistance |
SharedNearestNeighborJaccardDistanceFunction.Instance.distance(DBIDRef id1,
DBIDRef id2) |
DoubleDistance |
LocallyWeightedDistanceFunction.Instance.distance(DBIDRef id1,
DBIDRef id2)
Computes the distance between two given real vectors according to this
distance function.
|
D |
ProxyDistanceFunction.distance(DBIDRef o1,
DBIDRef o2) |
D |
MinKDistance.Instance.distance(DBIDRef id1,
DBIDRef id2) |
abstract D |
AbstractDBIDDistanceFunction.distance(DBIDRef o1,
DBIDRef o2) |
D |
DBIDDistanceFunction.distance(DBIDRef id1,
DBIDRef id2)
Returns the distance between the two objects specified by their object ids.
|
DoubleDistance |
RandomStableDistanceFunction.distance(DBIDRef o1,
DBIDRef o2) |
Modifier and Type | Method and Description |
---|---|
DoubleDistance |
AbstractSimilarityAdapter.Instance.distance(DBIDRef id1,
DBIDRef id2) |
Modifier and Type | Method and Description |
---|---|
BitDistance |
ERiCDistanceFunction.Instance.distance(DBIDRef id1,
DBIDRef id2)
Note, that the pca of o1 must have equal ore more strong eigenvectors
than the pca of o2.
|
PCACorrelationDistance |
PCABasedCorrelationDistanceFunction.Instance.distance(DBIDRef id1,
DBIDRef id2) |
Modifier and Type | Method and Description |
---|---|
boolean |
NumberDistanceParser.containsKey(DBIDRef id1,
DBIDRef id2,
Map<DBIDPair,D> cache)
Returns true if the specified distance cache contains a distance
value for the specified ids.
|
DoubleDistance |
DiskCacheBasedDoubleDistanceFunction.distance(DBIDRef id1,
DBIDRef id2)
Returns the distance between the two objects specified by their objects
ids.
|
FloatDistance |
DiskCacheBasedFloatDistanceFunction.distance(DBIDRef id1,
DBIDRef id2)
Returns the distance between the two objects specified by their objects
ids.
|
FloatDistance |
FileBasedFloatDistanceFunction.distance(DBIDRef id1,
DBIDRef id2)
Returns the distance between the two objects specified by their objects
ids.
|
DoubleDistance |
FileBasedDoubleDistanceFunction.distance(DBIDRef id1,
DBIDRef id2)
Returns the distance between the two objects specified by their objects
ids.
|
Modifier and Type | Method and Description |
---|---|
PreferenceVectorBasedCorrelationDistance |
AbstractPreferenceVectorBasedCorrelationDistanceFunction.Instance.distance(DBIDRef id1,
DBIDRef id2) |
SubspaceDistance |
LocalSubspaceDistanceFunction.Instance.distance(DBIDRef id1,
DBIDRef id2)
Note, that the pca of o1 must have equal ore more strong eigenvectors
than the pca of o2.
|
Modifier and Type | Method and Description |
---|---|
DoubleDistance |
FractionalSharedNearestNeighborSimilarityFunction.Instance.similarity(DBIDRef id1,
DBIDRef id2) |
IntegerDistance |
SharedNearestNeighborSimilarityFunction.Instance.similarity(DBIDRef id1,
DBIDRef id2) |
Modifier and Type | Method and Description |
---|---|
double |
KernelMatrix.getDistance(DBIDRef o1,
DBIDRef o2)
Returns the kernel distance between the two specified objects.
|
int |
KernelMatrix.DBIDMap.getOffset(DBIDRef id)
Get the offset of the DBID in the range.
|
int |
KernelMatrix.RangeMap.getOffset(DBIDRef id) |
int |
KernelMatrix.SortedArrayMap.getOffset(DBIDRef id) |
double |
KernelMatrix.getSimilarity(DBIDRef id1,
DBIDRef id2)
Get the kernel similarity for the given objects.
|
double |
KernelMatrix.getSquaredDistance(DBIDRef id1,
DBIDRef id2)
Returns the squared kernel distance between the two specified objects.
|
Matrix |
KernelMatrix.getSubColumn(DBIDRef i1,
DBIDs ids)
Deprecated.
|
Modifier and Type | Class and Description |
---|---|
static class |
ROC.DistanceResultAdapter<D extends Distance<D>>
This adapter can be used for an arbitrary collection of Integers, and uses
that id1.compareTo(id2) !
|
static class |
ROC.OutlierScoreAdapter
This adapter can be used for an arbitrary collection of Integers, and uses
that id1.compareTo(id2) !
|
static class |
ROC.SimpleAdapter
This adapter can be used for an arbitrary collection of Integers, and uses
that id1.compareTo(id2) !
|
Modifier and Type | Method and Description |
---|---|
boolean |
ROC.DBIDsTest.test(DBIDRef o) |
Modifier and Type | Method and Description |
---|---|
boolean |
DynamicIndex.delete(DBIDRef id)
Deletes the specified object from this index.
|
void |
DynamicIndex.insert(DBIDRef id)
Inserts the specified object into this index.
|
protected D |
AbstractRefiningIndex.AbstractRangeQuery.refine(DBIDRef id,
O q)
Refinement distance computation.
|
Modifier and Type | Method and Description |
---|---|
P |
LocalProjectionIndex.getLocalProjection(DBIDRef id)
Get the precomputed local projection for a particular object ID.
|
Modifier and Type | Method and Description |
---|---|
boolean |
MaterializeKNNPreprocessor.delete(DBIDRef id) |
KNNList<D> |
AbstractMaterializeKNNPreprocessor.get(DBIDRef id)
Get the k nearest neighbors.
|
GenericDistanceDBIDList<D> |
MaterializeKNNAndRKNNPreprocessor.getRKNN(DBIDRef id)
Returns the materialized RkNNs of the specified id.
|
void |
MaterializeKNNPreprocessor.insert(DBIDRef id) |
Modifier and Type | Method and Description |
---|---|
PCAFilteredResult |
AbstractFilteredPCAIndex.getLocalProjection(DBIDRef objid) |
PCAFilteredResult |
FilteredLocalPCAIndex.getLocalProjection(DBIDRef objid)
Get the precomputed local PCA for a particular object ID.
|
protected abstract DistanceDBIDList<DoubleDistance> |
AbstractFilteredPCAIndex.objectsForPCA(DBIDRef id)
Returns the objects to be considered within the PCA for the specified query
object.
|
protected DistanceDBIDList<DoubleDistance> |
RangeQueryFilteredPCAIndex.objectsForPCA(DBIDRef id) |
protected KNNList<DoubleDistance> |
KNNQueryFilteredPCAIndex.objectsForPCA(DBIDRef id) |
Modifier and Type | Method and Description |
---|---|
private BitSet |
HiSCPreferenceVectorIndex.determinePreferenceVector(Relation<V> relation,
DBIDRef id,
DBIDs neighborIDs,
StringBuilder msg)
Determines the preference vector according to the specified neighbor ids.
|
BitSet |
AbstractPreferenceVectorIndex.getPreferenceVector(DBIDRef objid) |
BitSet |
PreferenceVectorIndex.getPreferenceVector(DBIDRef id)
Get the precomputed preference vector for a particular object ID.
|
Modifier and Type | Method and Description |
---|---|
ArrayDBIDs |
SharedNearestNeighborIndex.getNearestNeighborSet(DBIDRef id)
Get the precomputed nearest neighbors
|
ArrayDBIDs |
SharedNearestNeighborPreprocessor.getNearestNeighborSet(DBIDRef objid) |
Modifier and Type | Method and Description |
---|---|
protected abstract P |
AbstractSubspaceProjectionIndex.computeProjection(DBIDRef id,
DistanceDBIDList<D> neighbors,
Relation<NV> relation)
This method implements the type of variance analysis to be computed for a
given point.
|
protected PCAFilteredResult |
FourCSubspaceIndex.computeProjection(DBIDRef id,
DistanceDBIDList<D> neighbors,
Relation<V> database) |
protected SubspaceProjectionResult |
PreDeConSubspaceIndex.computeProjection(DBIDRef id,
DistanceDBIDList<D> neighbors,
Relation<V> database) |
P |
SubspaceProjectionIndex.getLocalProjection(DBIDRef objid)
Get the precomputed local subspace for a particular object ID.
|
P |
AbstractSubspaceProjectionIndex.getLocalProjection(DBIDRef objid) |
Modifier and Type | Method and Description |
---|---|
KNNList<D> |
ProjectedIndex.ProjectedKNNQuery.getKNNForDBID(DBIDRef id,
int k) |
DistanceDBIDList<D> |
ProjectedIndex.ProjectedRangeQuery.getRangeForDBID(DBIDRef id,
D range) |
DistanceDBIDList<D> |
ProjectedIndex.ProjectedRKNNQuery.getRKNNForDBID(DBIDRef id,
int k) |
Modifier and Type | Method and Description |
---|---|
abstract D |
AbstractMTree.distance(DBIDRef id1,
DBIDRef id2)
Returns the distance between the two specified ids.
|
Modifier and Type | Method and Description |
---|---|
D |
AbstractMkTree.distance(DBIDRef id1,
DBIDRef id2) |
abstract DistanceDBIDList<D> |
AbstractMkTree.reverseKNNQuery(DBIDRef id,
int k)
Performs a reverse k-nearest neighbor query for the given object ID.
|
Modifier and Type | Method and Description |
---|---|
DistanceDBIDList<D> |
MkAppTree.reverseKNNQuery(DBIDRef id,
int k)
Performs a reverse k-nearest neighbor query for the given object ID.
|
Modifier and Type | Method and Description |
---|---|
private void |
MkCoPTree.doReverseKNNQuery(int k,
DBIDRef q,
GenericDistanceDBIDList<D> result,
ModifiableDBIDs candidates)
Performs a reverse knn query.
|
DistanceDBIDList<D> |
MkCoPTree.reverseKNNQuery(DBIDRef id,
int k)
Performs a reverse k-nearest neighbor query for the given object ID.
|
Modifier and Type | Method and Description |
---|---|
boolean |
MkMaxTreeIndex.delete(DBIDRef id)
Throws an UnsupportedOperationException since deletion of objects is not
yet supported by an M-Tree.
|
private void |
MkMaxTree.doReverseKNNQuery(DBIDRef q,
MkMaxTreeNode<O,D> node,
MkMaxEntry node_entry,
ModifiableDistanceDBIDList<D> result)
Performs a reverse k-nearest neighbor query in the specified subtree for
the given query object with k =
AbstractMkTreeUnified.getKmax() . |
void |
MkMaxTreeIndex.insert(DBIDRef id) |
DistanceDBIDList<D> |
MkMaxTree.reverseKNNQuery(DBIDRef id,
int k)
Performs a reverse k-nearest neighbor query for the given object ID.
|
Modifier and Type | Method and Description |
---|---|
private void |
MkTabTree.doReverseKNNQuery(int k,
DBIDRef q,
MkTabEntry node_entry,
MkTabTreeNode<O,D> node,
GenericDistanceDBIDList<D> result)
Performs a k-nearest neighbor query in the specified subtree for the given
query object and the given parameter k.
|
DistanceDBIDList<D> |
MkTabTree.reverseKNNQuery(DBIDRef id,
int k) |
Modifier and Type | Method and Description |
---|---|
boolean |
MTreeIndex.delete(DBIDRef id)
Throws an UnsupportedOperationException since deletion of objects is not
yet supported by an M-Tree.
|
D |
MTreeIndex.distance(DBIDRef id1,
DBIDRef id2) |
void |
MTreeIndex.insert(DBIDRef id) |
Modifier and Type | Method and Description |
---|---|
DistanceDBIDList<D> |
MkTreeRKNNQuery.getRKNNForDBID(DBIDRef id,
int k) |
Modifier and Type | Method and Description |
---|---|
protected IndexTreePath<E> |
AbstractRStarTree.findPathToObject(IndexTreePath<E> subtree,
SpatialComparable mbr,
DBIDRef id)
Returns the path to the leaf entry in the specified subtree that represents
the data object with the specified mbr and id.
|
Modifier and Type | Method and Description |
---|---|
boolean |
DeLiCluTreeIndex.delete(DBIDRef id)
Deletes the specified object from this index.
|
void |
DeLiCluTreeIndex.insert(DBIDRef id)
Inserts the specified real vector object into this index.
|
Modifier and Type | Method and Description |
---|---|
protected SpatialPointLeafEntry |
RStarTreeIndex.createNewLeafEntry(DBIDRef id)
Create a new leaf entry.
|
boolean |
RStarTreeIndex.delete(DBIDRef id)
Deletes the specified object from this index.
|
void |
RStarTreeIndex.insert(DBIDRef id)
Inserts the specified reel vector object into this index.
|
Modifier and Type | Method and Description |
---|---|
int |
OrderingFromDataStore.ImpliedComparator.compare(DBIDRef id1,
DBIDRef id2) |
int |
OrderingFromDataStore.DerivedComparator.compare(DBIDRef id1,
DBIDRef id2) |
private StringBuilder |
KMLOutputHandler.makeDescription(Collection<Relation<?>> relations,
DBIDRef id)
Make an HTML description.
|
Modifier and Type | Method and Description |
---|---|
void |
ClusterOrderResult.ReachabilityDistanceAdapter.delete(DBIDRef id) |
void |
ClusterOrderResult.PredecessorAdapter.delete(DBIDRef id) |
D |
ClusterOrderResult.ReachabilityDistanceAdapter.get(DBIDRef objID) |
DBID |
ClusterOrderResult.PredecessorAdapter.get(DBIDRef objID) |
void |
ClusterOrderResult.ReachabilityDistanceAdapter.set(DBIDRef id,
D val) |
void |
ClusterOrderResult.PredecessorAdapter.set(DBIDRef id,
DBID val) |
Modifier and Type | Method and Description |
---|---|
int |
OrderingFromRelation.ImpliedComparator.compare(DBIDRef id1,
DBIDRef id2) |
Modifier and Type | Method and Description |
---|---|
private void |
TextWriter.printObject(TextWriterStream out,
Database db,
DBIDRef objID,
List<Relation<?>> ra) |
Modifier and Type | Method and Description |
---|---|
private static int |
QuickSelect.compare(DBIDArrayIter i1,
int p1,
DBIDArrayIter i2,
int p2,
Comparator<? super DBIDRef> comp)
Compare two elements.
|
private static void |
QuickSelect.insertionSort(ArrayModifiableDBIDs data,
Comparator<? super DBIDRef> comparator,
int start,
int end,
DBIDArrayIter iter1,
DBIDArrayIter iter2)
Sort a small array using repetitive insertion sort.
|
static DBID |
QuickSelect.median(ArrayModifiableDBIDs data,
Comparator<? super DBIDRef> comparator)
Compute the median of an array efficiently using the QuickSelect method.
|
static DBID |
QuickSelect.median(ArrayModifiableDBIDs data,
Comparator<? super DBIDRef> comparator,
int begin,
int end)
Compute the median of an array efficiently using the QuickSelect method.
|
static DBID |
QuickSelect.quantile(ArrayModifiableDBIDs data,
Comparator<? super DBIDRef> comparator,
double quant)
Compute the median of an array efficiently using the QuickSelect method.
|
static DBID |
QuickSelect.quantile(ArrayModifiableDBIDs data,
Comparator<? super DBIDRef> comparator,
int begin,
int end,
double quant)
Compute the median of an array efficiently using the QuickSelect method.
|
static DBID |
QuickSelect.quickSelect(ArrayModifiableDBIDs data,
Comparator<? super DBIDRef> comparator,
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(ArrayModifiableDBIDs data,
Comparator<? super DBIDRef> comparator,
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 | Method and Description |
---|---|
int |
StylingPolicy.getColorForDBID(DBIDRef id)
Get the color for an individual object.
|
int |
ClusterStylingPolicy.getColorForDBID(DBIDRef id) |
int |
ClassStylingPolicy.getStyleForDBID(DBIDRef id)
Get the style number for a particular object
|
int |
ClusterStylingPolicy.getStyleForDBID(DBIDRef id) |
Modifier and Type | Method and Description |
---|---|
int |
SegmentsStylingPolicy.getColorForDBID(DBIDRef id) |
int |
SegmentsStylingPolicy.getStyleForDBID(DBIDRef id) |
Modifier and Type | Method and Description |
---|---|
private Element |
LineVisualization.Instance.drawLine(DBIDRef iter)
Draw a single line.
|
Modifier and Type | Method and Description |
---|---|
private Element |
SelectionLineVisualization.Instance.drawLine(DBIDRef iter)
Draw a single line.
|
Modifier and Type | Method and Description |
---|---|
protected abstract Element |
AbstractTooltipVisualization.makeTooltip(DBIDRef id,
double x,
double y,
double dotsize)
Make a tooltip Element for this id.
|
protected Element |
TooltipStringVisualization.Instance.makeTooltip(DBIDRef id,
double x,
double y,
double dotsize) |
protected Element |
TooltipScoreVisualization.Instance.makeTooltip(DBIDRef id,
double x,
double y,
double dotsize) |
Modifier and Type | Method and Description |
---|---|
protected double |
BubbleVisualization.Instance.getScaledForId(DBIDRef id)
Convenience method to apply scalings in the right order.
|
Modifier and Type | Method and Description |
---|---|
protected void |
SameSizeKMeansAlgorithm.transfer(WritableDataStore<SameSizeKMeansAlgorithm.Meta> metas,
SameSizeKMeansAlgorithm.Meta meta,
ModifiableDBIDs src,
ModifiableDBIDs dst,
DBIDRef id,
Integer dstnum)
Transfer a single element from one cluster to another.
|