|
|
|||||||||||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.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<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<PCAFilteredResult> |
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<List<AttributeSettings>> |
META_SETTINGS
Meta-data: algorithm settings |
static AssociationID<List<Integer>> |
NEIGHBOR_IDS
The association id to associate the neighbors of an object. |
static AssociationID<BitSet> |
PREFERENCE_VECTOR
The association id to associate a preference vector. |
static AssociationID<List<Double>> |
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<Double>> |
PROBABILITY_X_GIVEN_CLUSTER_I
AssociationID to associate the probabilities for an instance given a (set of) distribution(s). |
static AssociationID<ArrayList<Integer>> |
RANKING_LIST
The association id to associate a set of neighbors for use of the shared nearest neighbor similarity function. |
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<Integer>> |
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 eigenvector weighted matrix of an object. |
private Class<C> |
type
The Class type related to this AssociationID. |
Constructor Summary | |
---|---|
private |
AssociationID(String name,
Class<?> 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. |
|
String |
getLabel()
Return the name formatted for use in text serialization |
|
static
|
getOrCreateAssociationID(String name,
Class<C> type)
Gets or creates the AssociationID for the given name and given type. |
|
static
|
getOrCreateAssociationIDGenerics(String name,
Class<?> 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 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<PCAFilteredResult> LOCAL_PCA
public static final AssociationID<Integer> LOCAL_DIMENSIONALITY
public static final AssociationID<List<Integer>> NEIGHBOR_IDS
public static final AssociationID<SortedSet<Integer>> SHARED_NEAREST_NEIGHBORS_SET
public static final AssociationID<ArrayList<Integer>> RANKING_LIST
public static final AssociationID<DoubleDistance> DOUBLE_DISTANCE
public static final AssociationID<List<Double>> PROBABILITY_X_GIVEN_CLUSTER_I
public static final AssociationID<Double> PROBABILITY_X
public static final AssociationID<List<Double>> PROBABILITY_CLUSTER_I_GIVEN_X
public static final AssociationID<Matrix> LOCALLY_WEIGHTED_MATRIX
public static final AssociationID<BitSet> PREFERENCE_VECTOR
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<List<AttributeSettings>> META_SETTINGS
private static final long serialVersionUID
private Class<C> type
Constructor Detail |
---|
private AssociationID(String name, Class<?> 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)
C
- association classname
- the nametype
- the type of the association
public static <C> AssociationID<C> getOrCreateAssociationIDGenerics(String name, Class<?> type)
C
- association classname
- the nametype
- the type of the association
public String getLabel()
|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |