|
|
|||||||||||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.lmu.ifi.dbs.elki.logging.AbstractLoggable
de.lmu.ifi.dbs.elki.utilities.ConstantObject<AssociationID<C>>
de.lmu.ifi.dbs.elki.database.AssociationID<C>
C
- the type of the class of the associated objectpublic class AssociationID<C>
An AssociationID is used by databases as a unique identifier for specific associations to single objects. Such as label, local similarity measure. There is no association possible without a specific AssociationID defined within this class.
An AssociationID provides also information concerning the class of the associated objects.
Field Summary | |
---|---|
static AssociationID<Map> |
CACHED_DISTANCES
The association id to associate precomputed distances. |
static AssociationID<Matrix> |
CACHED_MATRIX
The association id to associate an arbitrary matrix of an object. |
static AssociationID<ClassLabel> |
CLASS
The association id to associate a class (class label) to an object. |
static AssociationID<DoubleDistance> |
DOUBLE_DISTANCE
The association id to associate a DoubleDistance to an object. |
static AssociationID<String> |
EXTERNAL_ID
The association id to associate an external id to an object. |
static AssociationID<KernelMatrix> |
KERNEL_MATRIX
The association id to associate a kernel matrix. |
static AssociationID<String> |
LABEL
The standard association id to associate a label to an object. |
static AssociationID<Integer> |
LOCAL_DIMENSIONALITY
The association id to associate a local dimensionality (e.g. the correlation dimensionality) to an object. |
static AssociationID<LocalPCA> |
LOCAL_PCA
The association id to associate a correlation pca to an object. |
static AssociationID<Matrix> |
LOCALLY_WEIGHTED_MATRIX
The association id to associate the locally weighted matrix of an object for the locally weighted distance function. |
static AssociationID<Double> |
LOF
The association id to associate the LOF of an object for the LOF algorithm. |
static AssociationID<Double> |
LRD
The association id to associate the LRD of an object for the LOF algorithm. |
static AssociationID<List> |
NEIGHBORS
The association id to associate the neighbors of an object. |
static AssociationID<List> |
NEIGHBORS_2
The association id to associate another set of neighbors of an object. |
static AssociationID<Object> |
OBJECT
The association id to associate any arbitrary object. |
static AssociationID<BitSet> |
PREFERENCE_VECTOR
The association id to associate a preference vector. |
static AssociationID<List> |
PROBABILITY_CLUSTER_I_GIVEN_X
AssociationID to associate the probabilities for the clusters for a single instance. |
static AssociationID<Double> |
PROBABILITY_X
AssociationID to associate the prior probability for an instance. |
static AssociationID<List> |
PROBABILITY_X_GIVEN_CLUSTER_I
AssociationID to associate the probabilities for an instance given a (set of) distribution(s). |
static AssociationID<Integer> |
ROW_ID
The association id to associate a row id to an object. |
private static long |
serialVersionUID
The serial version UID. |
static AssociationID<SortedSet> |
SHARED_NEAREST_NEIGHBORS_SET
The association id to associate a set of neighbors for use of the shared nearest neighbor similarity function. |
static AssociationID<Matrix> |
STRONG_EIGENVECTOR_MATRIX
The association id to associate the strong eigencvector weighted matrix of an object. |
private Class<C> |
type
The Class type related to this AssociationID. |
Fields inherited from class de.lmu.ifi.dbs.elki.logging.AbstractLoggable |
---|
debug |
Constructor Summary | |
---|---|
private |
AssociationID(String name,
Class<C> type)
Provides a new AssociationID of the given name and type. |
Method Summary | ||
---|---|---|
static AssociationID<?> |
getAssociationID(String name)
Returns the AssociationID for the given name if it exists, null otherwise. |
|
static
|
getOrCreateAssociationID(String name,
Class<C> type)
Gets or creates the AssociationID for the given name and given type. |
|
Class<C> |
getType()
Returns the type of the AssociationID. |
Methods inherited from class de.lmu.ifi.dbs.elki.utilities.ConstantObject |
---|
compareTo, equals, getName, hashCode, lookup, readResolve |
Methods inherited from class de.lmu.ifi.dbs.elki.logging.AbstractLoggable |
---|
debugFine, debugFiner, debugFinest, exception, message, progress, progress, progress, verbose, verbose, warning |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final AssociationID<String> LABEL
public static final AssociationID<ClassLabel> CLASS
public static final AssociationID<String> EXTERNAL_ID
public static final AssociationID<Integer> ROW_ID
public static final AssociationID<LocalPCA> LOCAL_PCA
public static final AssociationID<Integer> LOCAL_DIMENSIONALITY
public static final AssociationID<List> NEIGHBORS
public static final AssociationID<List> NEIGHBORS_2
public static final AssociationID<SortedSet> SHARED_NEAREST_NEIGHBORS_SET
public static final AssociationID<DoubleDistance> DOUBLE_DISTANCE
public static final AssociationID<Double> LRD
public static final AssociationID<Double> LOF
public static final AssociationID<List> PROBABILITY_X_GIVEN_CLUSTER_I
public static final AssociationID<Double> PROBABILITY_X
public static final AssociationID<List> PROBABILITY_CLUSTER_I_GIVEN_X
public static final AssociationID<Matrix> LOCALLY_WEIGHTED_MATRIX
public static final AssociationID<BitSet> PREFERENCE_VECTOR
public static final AssociationID<Map> CACHED_DISTANCES
public static final AssociationID<Matrix> STRONG_EIGENVECTOR_MATRIX
public static final AssociationID<Matrix> CACHED_MATRIX
public static final AssociationID<KernelMatrix> KERNEL_MATRIX
public static final AssociationID<Object> OBJECT
private static final long serialVersionUID
private Class<C> type
Constructor Detail |
---|
private AssociationID(String name, Class<C> type)
name
- name of the associationtype
- class of the objects that are associated under this
AssociationIDMethod Detail |
---|
public Class<C> getType()
public static AssociationID<?> getAssociationID(String name)
name
- the name of the desired AssociationID
public static <C> AssociationID<C> getOrCreateAssociationID(String name, Class<C> type)
name
- the nametype
- the type of the association
|
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |