de.lmu.ifi.dbs.elki.result
Class IDResult
java.lang.Object
de.lmu.ifi.dbs.elki.result.IDResult
- All Implemented Interfaces:
- AnnotationResult<Integer>, Result
public class IDResult
- extends Object
- implements AnnotationResult<Integer>
The trivial 'result' of the object IDs used.
- Author:
- Erich Schubert
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OBJECT_ID
public static final AssociationID<Integer> OBJECT_ID
- The association ID to use.
IDResult
public IDResult()
getAssociationID
public AssociationID<Integer> getAssociationID()
- Description copied from interface:
AnnotationResult
- Return the association ID of this result.
- Specified by:
getAssociationID
in interface AnnotationResult<Integer>
- Returns:
- Association ID
getValueFor
public Integer getValueFor(Integer objID)
- Description copied from interface:
AnnotationResult
- Get associated value for an object.
- Specified by:
getValueFor
in interface AnnotationResult<Integer>
- Parameters:
objID
- Object ID
- Returns:
- Associated value
getName
public String getName()
- Description copied from interface:
Result
- Get a user-understandable name for this result.
Defaults may be returned such as "list" for a list result.
- Specified by:
getName
in interface Result
- Returns:
- result name